Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006335/0.006335, allocations: 100.8 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 189.7 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 222.5 MB, free: 4.395 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.649/1.649, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001617, allocations: 67.91 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2793, allocations: 104.7 MB / 0.8281 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8562/1.136, allocations: 167.5 MB / 0.9916 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00446/1.14, allocations: 1.591 MB / 0.9932 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005794/1.141, allocations: 13.84 kB / 0.9932 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007214/1.141, allocations: 156.6 kB / 0.9933 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/1.144, allocations: 0.7265 MB / 0.994 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/1.147, allocations: 0.6119 MB / 0.9946 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001318/1.148, allocations: 0.7026 MB / 0.9953 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/1.149, allocations: 238.6 kB / 0.9956 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009055/1.149, allocations: 347.6 kB / 0.9959 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/1.15, allocations: 217.5 kB / 0.9961 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/1.15, allocations: 23.41 kB / 0.9961 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/1.153, allocations: 0.8688 MB / 0.997 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/1.153, allocations: 113.6 kB / 0.9971 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/1.153, allocations: 161.1 kB / 0.9972 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001616/1.155, allocations: 0.7277 MB / 0.9979 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/1.155, allocations: 0 / 0.9979 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.831e-06/1.155, allocations: 0 / 0.9979 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.039e-05/1.155, allocations: 3.938 kB / 0.9979 GB, free: 6.984 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001543/1.156, allocations: 0.6594 MB / 0.9986 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.794e-05/1.156, allocations: 10 kB / 0.9986 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/1.158, allocations: 156.4 kB / 0.9987 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/1.158, allocations: 317 kB / 0.999 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/1.158, allocations: 22.56 kB / 0.9991 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/1.158, allocations: 18.62 kB / 0.9991 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/1.159, allocations: 275.2 kB / 0.9994 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.159, allocations: 3.938 kB / 0.9994 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/1.159, allocations: 10.41 kB / 0.9994 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/1.159, allocations: 4.969 kB / 0.9994 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004416/1.16, allocations: 200.2 kB / 0.9996 GB, free: 5.723 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/1.161, allocations: 1.208 MB / 1.001 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/1.161, allocations: 139.6 kB / 1.001 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/1.162, allocations: 90.45 kB / 1.001 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00058/1.162, allocations: 304.4 kB / 1.001 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/1.162, allocations: 42.5 kB / 1.001 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/1.162, allocations: 3.938 kB / 1.001 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0007745/1.163, allocations: 278.4 kB / 1.002 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/1.163, allocations: 51.41 kB / 1.002 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/1.163, allocations: 316.4 kB / 1.002 GB, free: 3.703 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/1.164, allocations: 29.7 kB / 1.002 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/1.164, allocations: 181.1 kB / 1.002 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/1.164, allocations: 55.08 kB / 1.002 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/1.164, allocations: 42.67 kB / 1.002 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.164, allocations: 340.5 kB / 1.003 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/1.164, allocations: 63.2 kB / 1.003 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/1.164, allocations: 133.8 kB / 1.003 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/1.165, allocations: 189 kB / 1.003 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.165, allocations: 0 / 1.003 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005024/1.165, allocations: 242.2 kB / 1.003 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.165, allocations: 7.625 kB / 1.003 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.165, allocations: 3.938 kB / 1.003 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/1.165, allocations: 1.938 kB / 1.003 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/1.166, allocations: 41.14 kB / 1.003 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.166, allocations: 6.125 kB / 1.003 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/1.166, allocations: 29.92 kB / 1.003 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/1.166, allocations: 7.812 kB / 1.003 GB, free: 2.672 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/1.166, allocations: 158.7 kB / 1.003 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/1.166, allocations: 31.22 kB / 1.003 GB, free: 2.508 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/1.167, allocations: 215.4 kB / 1.004 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.167, allocations: 6.188 kB / 1.004 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.167, allocations: 0 / 1.004 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.167, allocations: 0 / 1.004 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/1.168, allocations: 0.6814 MB / 1.004 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.168, allocations: 2.844 kB / 1.004 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/1.168, allocations: 34.81 kB / 1.004 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/1.168, allocations: 2.719 kB / 1.004 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/1.168, allocations: 9 kB / 1.004 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.168, allocations: 2.906 kB / 1.004 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.168, allocations: 6.734 kB / 1.004 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/1.169, allocations: 444.2 kB / 1.005 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/1.169, allocations: 120.2 kB / 1.005 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/1.169, allocations: 10.06 kB / 1.005 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/1.169, allocations: 9.234 kB / 1.005 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/1.169, allocations: 15.77 kB / 1.005 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/1.169, allocations: 4.406 kB / 1.005 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002411/1.169, allocations: 230.7 kB / 1.005 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.169, allocations: 0 / 1.005 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004263/1.17, allocations: 78.5 kB / 1.005 GB, free: 1.145 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000439/1.17, allocations: 166.8 kB / 1.005 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004247/1.171, allocations: 170.9 kB / 1.006 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/1.171, allocations: 2.438 kB / 1.006 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/1.171, allocations: 91.25 kB / 1.006 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000867/1.172, allocations: 169.4 kB / 1.006 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/1.173, allocations: 0.5887 MB / 1.006 GB, free: 388 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/1.173, allocations: 0.7769 MB / 1.007 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002046/1.173, allocations: 70.14 kB / 1.007 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/1.173, allocations: 26.72 kB / 1.007 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of SimCode: time 3.3e-07/1.173, allocations: 0 / 1.007 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.01106/1.184, allocations: 5.788 MB / 1.013 GB, free: 12.74 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)