Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001617/0.001622, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00203/0.00203, allocations: 192.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002665/0.002665, allocations: 298.2 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.082/1.082, allocations: 178.6 MB / 0.5069 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 99.05 kB / 0.6059 GB, free: 24.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1754, allocations: 89.15 MB / 0.693 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5733/0.7488, allocations: 165.1 MB / 0.8542 GB, free: 244 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003536/0.7524, allocations: 1.544 MB / 0.8557 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006202/0.753, allocations: 12.25 kB / 0.8557 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006272/0.7537, allocations: 126.8 kB / 0.8558 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.7557, allocations: 0.6624 MB / 0.8565 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.7574, allocations: 0.5619 MB / 0.857 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009089/0.7583, allocations: 0.6991 MB / 0.8577 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003823/0.7587, allocations: 223.9 kB / 0.8579 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005845/0.7593, allocations: 337.5 kB / 0.8582 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.7595, allocations: 234.3 kB / 0.8585 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.7596, allocations: 22.91 kB / 0.8585 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.7609, allocations: 0.9007 MB / 0.8594 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.7611, allocations: 110.8 kB / 0.8595 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.7612, allocations: 158 kB / 0.8596 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000989/0.7622, allocations: 0.7784 MB / 0.8604 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7622, allocations: 0 / 0.8604 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7623, allocations: 4 kB / 0.8604 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.7623, allocations: 0 / 0.8604 GB, free: 11.96 MB / 0.5919 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.000958/0.7632, allocations: 0.6464 MB / 0.861 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.7633, allocations: 9.688 kB / 0.861 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.7644, allocations: 154.3 kB / 0.8612 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.7649, allocations: 308.2 kB / 0.8615 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.7649, allocations: 16.19 kB / 0.8615 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.7649, allocations: 30.55 kB / 0.8615 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.7655, allocations: 275 kB / 0.8618 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.7655, allocations: 6.125 kB / 0.8618 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.7655, allocations: 6.906 kB / 0.8618 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.7655, allocations: 4.844 kB / 0.8618 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.7659, allocations: 201.6 kB / 0.862 GB, free: 10.71 MB / 0.5919 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.001544/0.7675, allocations: 1.203 MB / 0.8632 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.7678, allocations: 145.1 kB / 0.8633 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.768, allocations: 86.28 kB / 0.8634 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/0.7687, allocations: 302.2 kB / 0.8637 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.7687, allocations: 44.25 kB / 0.8637 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.7687, allocations: 0 / 0.8637 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000809/0.7695, allocations: 282.4 kB / 0.864 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.7696, allocations: 53.38 kB / 0.864 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.7699, allocations: 316.2 kB / 0.8643 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.77, allocations: 31.83 kB / 0.8644 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.7701, allocations: 179.1 kB / 0.8645 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.7702, allocations: 59.08 kB / 0.8646 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.7703, allocations: 50.7 kB / 0.8646 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7704, allocations: 338.6 kB / 0.865 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.7706, allocations: 60.92 kB / 0.865 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.7708, allocations: 135.5 kB / 0.8652 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.7712, allocations: 189.5 kB / 0.8653 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7712, allocations: 2.438 kB / 0.8653 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004378/0.7716, allocations: 231.8 kB / 0.8656 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.7717, allocations: 7.781 kB / 0.8656 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.7717, allocations: 1.062 kB / 0.8656 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.7717, allocations: 1.812 kB / 0.8656 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.7719, allocations: 45.39 kB / 0.8656 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.7719, allocations: 11.34 kB / 0.8656 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.7721, allocations: 36.36 kB / 0.8657 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.7722, allocations: 7.75 kB / 0.8657 GB, free: 7.66 MB / 0.5919 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.0001519/0.7723, allocations: 159 kB / 0.8658 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.7724, allocations: 31.34 kB / 0.8658 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.7729, allocations: 218.1 kB / 0.8661 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.7729, allocations: 2.875 kB / 0.8661 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7729, allocations: 0 / 0.8661 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7729, allocations: 0 / 0.8661 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.774, allocations: 0.6889 MB / 0.8667 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.774, allocations: 2.562 kB / 0.8667 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.7742, allocations: 30.98 kB / 0.8668 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.7742, allocations: 4.781 kB / 0.8668 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.7742, allocations: 6.719 kB / 0.8668 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7742, allocations: 2.312 kB / 0.8668 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.7742, allocations: 10.41 kB / 0.8668 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006675/0.7749, allocations: 425.1 kB / 0.8672 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.775, allocations: 127.3 kB / 0.8673 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.7751, allocations: 8.781 kB / 0.8673 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.7753, allocations: 22.11 kB / 0.8673 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.7754, allocations: 17.44 kB / 0.8674 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.7754, allocations: 7.469 kB / 0.8674 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002213/0.7756, allocations: 224.2 kB / 0.8676 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7756, allocations: 0 / 0.8676 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003876/0.776, allocations: 76.03 kB / 0.8677 GB, free: 6.133 MB / 0.5919 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.0004291/0.7764, allocations: 178.1 kB / 0.8678 GB, free: 6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.7769, allocations: 173.6 kB / 0.868 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7769, allocations: 0 / 0.868 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.7771, allocations: 96.31 kB / 0.8681 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.778, allocations: 165.8 kB / 0.8682 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.779, allocations: 0.6811 MB / 0.8689 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.7795, allocations: 0.7768 MB / 0.8697 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.7797, allocations: 70.16 kB / 0.8697 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.7797, allocations: 36.89 kB / 0.8698 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.7798, allocations: 0 / 0.8698 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.01121/0.791, allocations: 5.651 MB / 0.8753 GB, free: 0.9336 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)