Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001457/0.001457, allocations: 110.4 kB / 16.37 MB, free: 5.895 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.001022/0.001022, allocations: 185.8 kB / 17.3 MB, free: 5.527 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.278/1.278, allocations: 205.1 MB / 223.2 MB, free: 12.12 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.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.001532/0.001532, allocations: 67.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1874, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4808/0.6682, allocations: 167.4 MB / 0.9482 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002423/0.6707, allocations: 1.55 MB / 0.9497 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.6709, allocations: 19.81 kB / 0.9498 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.6714, allocations: 150.9 kB / 0.9499 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.6728, allocations: 0.6922 MB / 0.9506 GB, free: 432 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.674, allocations: 0.612 MB / 0.9512 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0007102/0.6748, allocations: 0.7012 MB / 0.9519 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.6751, allocations: 233.1 kB / 0.9521 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.6756, allocations: 330.8 kB / 0.9524 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.6759, allocations: 223 kB / 0.9526 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.6759, allocations: 24 kB / 0.9526 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.6772, allocations: 0.8612 MB / 0.9535 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.6774, allocations: 119.6 kB / 0.9536 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.6775, allocations: 163.3 kB / 0.9537 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008655/0.6784, allocations: 0.7222 MB / 0.9544 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6784, allocations: 0 / 0.9544 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6784, allocations: 0 / 0.9544 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.6784, allocations: 4 kB / 0.9544 GB, free: 12.45 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.0008647/0.6793, allocations: 0.6532 MB / 0.9551 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.6793, allocations: 8.031 kB / 0.9551 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.6805, allocations: 155.4 kB / 0.9552 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.6809, allocations: 321.7 kB / 0.9555 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.681, allocations: 12.44 kB / 0.9556 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.681, allocations: 35.92 kB / 0.9556 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.6815, allocations: 275.5 kB / 0.9559 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.6815, allocations: 0 / 0.9559 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.6815, allocations: 8 kB / 0.9559 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.6815, allocations: 8 kB / 0.9559 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.682, allocations: 191.8 kB / 0.9561 GB, free: 10.7 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.00129/0.6833, allocations: 1.214 MB / 0.9572 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.6835, allocations: 136.5 kB / 0.9574 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.6837, allocations: 85.3 kB / 0.9575 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/0.6843, allocations: 303.2 kB / 0.9577 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.6843, allocations: 50.38 kB / 0.9578 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.6843, allocations: 0 / 0.9578 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0007409/0.685, allocations: 278.5 kB / 0.9581 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.6851, allocations: 55.41 kB / 0.9581 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.6854, allocations: 312.5 kB / 0.9584 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.6854, allocations: 29.7 kB / 0.9584 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.6855, allocations: 184.1 kB / 0.9586 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.6856, allocations: 59.19 kB / 0.9587 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.6857, allocations: 45.7 kB / 0.9587 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6858, allocations: 338.8 kB / 0.959 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.6859, allocations: 63.95 kB / 0.9591 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.6862, allocations: 129 kB / 0.9592 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.6865, allocations: 189 kB / 0.9594 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6865, allocations: 0 / 0.9594 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000455/0.687, allocations: 241.2 kB / 0.9596 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.687, allocations: 4 kB / 0.9596 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.687, allocations: 7.938 kB / 0.9596 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.687, allocations: 0 / 0.9596 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.6872, allocations: 46.06 kB / 0.9597 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.6873, allocations: 4 kB / 0.9597 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.6875, allocations: 35.67 kB / 0.9597 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.6875, allocations: 4 kB / 0.9597 GB, free: 6.668 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.0001348/0.6876, allocations: 157.8 kB / 0.9599 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.6877, allocations: 27.62 kB / 0.9599 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.6881, allocations: 221.3 kB / 0.9601 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6881, allocations: 3.984 kB / 0.9601 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6882, allocations: 0 / 0.9601 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6883, allocations: 116.7 kB / 0.9602 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.6883, allocations: 0 / 0.9602 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.6885, allocations: 15.92 kB / 0.9602 GB, free: 6.105 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.6885, allocations: 15.98 kB / 0.9603 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004874/0.689, allocations: 265.4 kB / 0.9605 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006142/0.6896, allocations: 466.2 kB / 0.961 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000158/0.6898, allocations: 67.98 kB / 0.961 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001951/0.69, allocations: 227 kB / 0.9612 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of Backend: time 4.21e-07/0.69, allocations: 0 / 0.9612 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.6911, allocations: 386.2 kB / 0.9616 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of SimCode: time 0.001401/0.6925, allocations: 1.101 MB / 0.9627 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of Templates: time 0.01238/0.7049, allocations: 7.876 MB / 0.9704 GB, free: 11.84 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)