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.00136/0.00136, allocations: 105.5 kB / 16.29 MB, free: 6.113 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.001276/0.001276, allocations: 179.1 kB / 17.22 MB, free: 5.723 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.656/1.656, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.897/1.897, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001853/0.001853, allocations: 63.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2553, allocations: 114.5 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7051/0.9605, allocations: 167.4 MB / 0.9475 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00281/0.9633, allocations: 1.551 MB / 0.949 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/0.9638, allocations: 11.94 kB / 0.949 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.9644, allocations: 150.9 kB / 0.9492 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.9661, allocations: 0.7 MB / 0.9499 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.9678, allocations: 0.5952 MB / 0.9504 GB, free: 168 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009166/0.9687, allocations: 0.7051 MB / 0.9511 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.9691, allocations: 232.8 kB / 0.9514 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006795/0.9698, allocations: 342.7 kB / 0.9517 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.9701, allocations: 219.1 kB / 0.9519 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.9702, allocations: 20 kB / 0.9519 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.9718, allocations: 0.8728 MB / 0.9528 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.9719, allocations: 111.7 kB / 0.9529 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.9721, allocations: 159.2 kB / 0.953 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.9733, allocations: 0.7246 MB / 0.9537 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9733, allocations: 4 kB / 0.9537 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9733, allocations: 0.75 kB / 0.9537 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.9733, allocations: 0 / 0.9537 GB, free: 12.79 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.0009751/0.9743, allocations: 0.6455 MB / 0.9544 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.9744, allocations: 12.03 kB / 0.9544 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.9755, allocations: 151.4 kB / 0.9545 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.9759, allocations: 309.7 kB / 0.9548 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.976, allocations: 16.44 kB / 0.9548 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.976, allocations: 20 kB / 0.9548 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.9765, allocations: 277.4 kB / 0.9551 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.9765, allocations: 7.875 kB / 0.9551 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.9766, allocations: 12 kB / 0.9551 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.9766, allocations: 8 kB / 0.9551 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.977, allocations: 191.8 kB / 0.9553 GB, free: 11.06 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.001437/0.9784, allocations: 1.21 MB / 0.9565 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.9787, allocations: 138.4 kB / 0.9566 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.9789, allocations: 93.3 kB / 0.9567 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006708/0.9796, allocations: 303.2 kB / 0.957 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.9796, allocations: 42.44 kB / 0.9571 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.9797, allocations: 0 / 0.9571 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0009209/0.9806, allocations: 281.4 kB / 0.9573 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.9807, allocations: 51.41 kB / 0.9574 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.9811, allocations: 312.5 kB / 0.9577 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.9812, allocations: 33.7 kB / 0.9577 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.9814, allocations: 188 kB / 0.9579 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.9815, allocations: 55.2 kB / 0.9579 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.9816, allocations: 45.7 kB / 0.958 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.9818, allocations: 334.8 kB / 0.9583 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.9819, allocations: 67.89 kB / 0.9584 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.9822, allocations: 126.4 kB / 0.9585 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.9826, allocations: 195.1 kB / 0.9587 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9826, allocations: 0 / 0.9587 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005159/0.9832, allocations: 237.2 kB / 0.9589 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9832, allocations: 8 kB / 0.9589 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.9832, allocations: 0 / 0.9589 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.9832, allocations: 4 kB / 0.9589 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.9835, allocations: 43.91 kB / 0.9589 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.9835, allocations: 0 / 0.9589 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.9837, allocations: 35.81 kB / 0.959 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.9838, allocations: 9.5 kB / 0.959 GB, free: 7.027 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.0002284/0.984, allocations: 153.7 kB / 0.9591 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.9841, allocations: 35.61 kB / 0.9592 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/0.9846, allocations: 217.5 kB / 0.9594 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.9847, allocations: 4 kB / 0.9594 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.9847, allocations: 1.219 kB / 0.9594 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.9847, allocations: 0 / 0.9594 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.9859, allocations: 0.6836 MB / 0.96 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.986, allocations: 8.031 kB / 0.9601 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.9862, allocations: 31.98 kB / 0.9601 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.9862, allocations: 0 / 0.9601 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.9862, allocations: 7.938 kB / 0.9601 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/0.9862, allocations: 7.938 kB / 0.9601 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.9863, allocations: 2.5 kB / 0.9601 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.987, allocations: 441.5 kB / 0.9605 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.9872, allocations: 124.8 kB / 0.9606 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.9872, allocations: 15.94 kB / 0.9607 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.9874, allocations: 4 kB / 0.9607 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.9875, allocations: 17.67 kB / 0.9607 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.9875, allocations: 7.984 kB / 0.9607 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000329/0.9878, allocations: 223.1 kB / 0.9609 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9878, allocations: 0 / 0.9609 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006385/0.9885, allocations: 83.89 kB / 0.961 GB, free: 4.848 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.0005459/0.989, allocations: 156.1 kB / 0.9611 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000651/0.9897, allocations: 180.8 kB / 0.9613 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.9897, allocations: 6.156 kB / 0.9613 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.99, allocations: 90.09 kB / 0.9614 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.9914, allocations: 166.9 kB / 0.9616 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.9928, allocations: 0.5859 MB / 0.9621 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.9933, allocations: 0.7756 MB / 0.9629 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002886/0.9936, allocations: 67.14 kB / 0.9629 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.9937, allocations: 27.44 kB / 0.963 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.9937, allocations: 0 / 0.963 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of Templates: time 0.01713/1.011, allocations: 5.74 MB / 0.9686 GB, free: 13.18 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)