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.001081/0.001081, allocations: 103 kB / 16.35 MB, free: 5.879 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.001123/0.001123, allocations: 196.4 kB / 17.29 MB, free: 5.516 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.358/1.358, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.815/1.815, allocations: 292.3 MB / 0.5496 GB, free: 17.73 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.001478/0.001478, allocations: 67.91 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.247, allocations: 114.6 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5972/0.8442, allocations: 167.4 MB / 0.9482 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003753/0.8481, allocations: 1.545 MB / 0.9497 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003104/0.8484, allocations: 11.94 kB / 0.9497 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.8489, allocations: 146.8 kB / 0.9499 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.8509, allocations: 0.7 MB / 0.9505 GB, free: 400 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.853, allocations: 0.6144 MB / 0.9511 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008693/0.8539, allocations: 0.7012 MB / 0.9518 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.8543, allocations: 236.9 kB / 0.9521 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006279/0.8549, allocations: 327.8 kB / 0.9524 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.8553, allocations: 227 kB / 0.9526 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.8553, allocations: 20 kB / 0.9526 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.857, allocations: 0.8651 MB / 0.9534 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.8571, allocations: 107.7 kB / 0.9536 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.8573, allocations: 171.1 kB / 0.9537 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.8585, allocations: 0.7297 MB / 0.9544 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.8585, allocations: 0 / 0.9544 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.466e-06/0.8585, allocations: 0 / 0.9544 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.8585, allocations: 0 / 0.9544 GB, free: 12.41 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.001271/0.8598, allocations: 0.6416 MB / 0.9551 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.885e-05/0.8599, allocations: 21.36 kB / 0.9551 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.8613, allocations: 151.5 kB / 0.9552 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.8619, allocations: 305.7 kB / 0.9555 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.8619, allocations: 16.44 kB / 0.9555 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.862, allocations: 24 kB / 0.9555 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.8626, allocations: 275.5 kB / 0.9558 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.8626, allocations: 3.938 kB / 0.9558 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.8627, allocations: 12 kB / 0.9558 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.8627, allocations: 4 kB / 0.9558 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.8632, allocations: 199.8 kB / 0.956 GB, free: 10.68 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.001509/0.8647, allocations: 1.21 MB / 0.9572 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.865, allocations: 130.5 kB / 0.9573 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.8652, allocations: 97.55 kB / 0.9574 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006569/0.8658, allocations: 299.2 kB / 0.9577 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.8659, allocations: 38.44 kB / 0.9577 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 3.477e-06/0.8659, allocations: 5.594 kB / 0.9577 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0007576/0.8666, allocations: 278.4 kB / 0.958 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.8667, allocations: 59.41 kB / 0.9581 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.867, allocations: 308.5 kB / 0.9584 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.8671, allocations: 29.7 kB / 0.9584 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.8672, allocations: 184.1 kB / 0.9586 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.8673, allocations: 63.19 kB / 0.9586 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.8674, allocations: 41.7 kB / 0.9587 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8675, allocations: 342.8 kB / 0.959 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.8677, allocations: 63.95 kB / 0.9591 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.8679, allocations: 126.3 kB / 0.9592 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.8683, allocations: 181.8 kB / 0.9594 GB, free: 7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8683, allocations: 0 / 0.9594 GB, free: 7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004624/0.8687, allocations: 248.1 kB / 0.9596 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.8688, allocations: 7.984 kB / 0.9596 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.8688, allocations: 0 / 0.9596 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.8688, allocations: 4 kB / 0.9596 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.869, allocations: 45.8 kB / 0.9596 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.869, allocations: 7.938 kB / 0.9596 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.8692, allocations: 27.67 kB / 0.9597 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.8693, allocations: 17.66 kB / 0.9597 GB, free: 6.648 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.0001599/0.8694, allocations: 157.7 kB / 0.9598 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.8695, allocations: 27.62 kB / 0.9599 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.87, allocations: 213.2 kB / 0.9601 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.87, allocations: 4.141 kB / 0.9601 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.87, allocations: 0 / 0.9601 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.87, allocations: 3.984 kB / 0.9601 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.8711, allocations: 0.6862 MB / 0.9608 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.8711, allocations: 4 kB / 0.9608 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.8713, allocations: 31.92 kB / 0.9608 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.8713, allocations: 3.984 kB / 0.9608 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.8713, allocations: 11.94 kB / 0.9608 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.8713, allocations: 4 kB / 0.9608 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8713, allocations: 7.938 kB / 0.9608 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.872, allocations: 423 kB / 0.9612 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.8722, allocations: 128.8 kB / 0.9613 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.8722, allocations: 10.19 kB / 0.9613 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.8724, allocations: 13.02 kB / 0.9614 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.8725, allocations: 15.92 kB / 0.9614 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.8725, allocations: 8 kB / 0.9614 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000239/0.8728, allocations: 227 kB / 0.9616 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8728, allocations: 0 / 0.9616 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004187/0.8732, allocations: 75.91 kB / 0.9617 GB, free: 4.48 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.0004585/0.8737, allocations: 172.2 kB / 0.9618 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.8741, allocations: 163.8 kB / 0.962 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8741, allocations: 8.188 kB / 0.962 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.8743, allocations: 83.88 kB / 0.9621 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.8753, allocations: 171 kB / 0.9622 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.8763, allocations: 0.587 MB / 0.9628 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.8767, allocations: 0.7795 MB / 0.9636 GB, free: 2.473 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001981/0.8769, allocations: 71.33 kB / 0.9636 GB, free: 2.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.877, allocations: 23.44 kB / 0.9637 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.877, allocations: 0 / 0.9637 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of Templates: time 0.01059/0.8876, allocations: 5.748 MB / 0.9693 GB, free: 12.8 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)