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.001064/0.001064, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001344/0.001344, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 270.2 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9324/0.9324, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004015, allocations: 18.38 kB / 0.598 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1406, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4175/0.5581, allocations: 152 MB / 0.8329 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.5602, allocations: 1.473 MB / 0.8344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.5604, allocations: 15.03 kB / 0.8344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.5608, allocations: 99.95 kB / 0.8345 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.5619, allocations: 0.5104 MB / 0.835 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.5629, allocations: 457.2 kB / 0.8354 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007094/0.5636, allocations: 0.8292 MB / 0.8362 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.5639, allocations: 179.5 kB / 0.8364 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004495/0.5644, allocations: 302.3 kB / 0.8367 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.5646, allocations: 218.1 kB / 0.8369 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.5647, allocations: 12.47 kB / 0.8369 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008479/0.5655, allocations: 468.3 kB / 0.8374 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.5656, allocations: 94 kB / 0.8374 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.5657, allocations: 83.11 kB / 0.8375 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.5662, allocations: 442.7 kB / 0.8379 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5662, allocations: 0 / 0.8379 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.153e-06/0.5662, allocations: 0 / 0.8379 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.5662, allocations: 0 / 0.8379 GB, free: 8.914 MB / 0.5606 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.0007401/0.5669, allocations: 0.5994 MB / 0.8385 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.567, allocations: 10.5 kB / 0.8385 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.568, allocations: 156.4 kB / 0.8387 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.5684, allocations: 297.3 kB / 0.839 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.5684, allocations: 15.5 kB / 0.839 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.5685, allocations: 27.59 kB / 0.839 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.5689, allocations: 273.6 kB / 0.8393 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5689, allocations: 6.641 kB / 0.8393 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.569, allocations: 11.38 kB / 0.8393 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.569, allocations: 3.375 kB / 0.8393 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.5694, allocations: 215.2 kB / 0.8395 GB, free: 7.695 MB / 0.5606 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.001264/0.5707, allocations: 1.215 MB / 0.8407 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.5709, allocations: 140 kB / 0.8408 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.5711, allocations: 99.48 kB / 0.8409 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005325/0.5716, allocations: 311.5 kB / 0.8412 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.5717, allocations: 36.31 kB / 0.8412 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.5717, allocations: 4 kB / 0.8413 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007242/0.5724, allocations: 292.7 kB / 0.8415 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.5724, allocations: 57.92 kB / 0.8416 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.5728, allocations: 313.8 kB / 0.8419 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.5728, allocations: 25.7 kB / 0.8419 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.5729, allocations: 184.8 kB / 0.8421 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.573, allocations: 52.95 kB / 0.8421 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.573, allocations: 10.09 kB / 0.8421 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5731, allocations: 343.5 kB / 0.8425 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.5733, allocations: 70.39 kB / 0.8425 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.5735, allocations: 125.3 kB / 0.8427 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.5737, allocations: 84.61 kB / 0.8427 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5737, allocations: 2.844 kB / 0.8427 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000428/0.5741, allocations: 255.8 kB / 0.843 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5741, allocations: 4.625 kB / 0.843 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5741, allocations: 3.312 kB / 0.843 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.5742, allocations: 0 / 0.843 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.5744, allocations: 43.39 kB / 0.843 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5744, allocations: 6.922 kB / 0.843 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.5746, allocations: 44.66 kB / 0.8431 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.5746, allocations: 8.812 kB / 0.8431 GB, free: 4.75 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.5748, allocations: 154.3 kB / 0.8432 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.5748, allocations: 29.03 kB / 0.8433 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.5752, allocations: 223.5 kB / 0.8435 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5753, allocations: 0 / 0.8435 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5753, allocations: 0 / 0.8435 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.5753, allocations: 7.453 kB / 0.8435 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009501/0.5762, allocations: 0.7019 MB / 0.8442 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5762, allocations: 4.062 kB / 0.8442 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.5764, allocations: 30.39 kB / 0.8442 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.5764, allocations: 7.266 kB / 0.8442 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.5764, allocations: 6.938 kB / 0.8442 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5764, allocations: 2.875 kB / 0.8442 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5765, allocations: 8.25 kB / 0.8442 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.577, allocations: 444.3 kB / 0.8447 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5772, allocations: 122.5 kB / 0.8448 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.5772, allocations: 7.266 kB / 0.8448 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.5774, allocations: 34.36 kB / 0.8448 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.5775, allocations: 11.92 kB / 0.8448 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.5775, allocations: 6.188 kB / 0.8448 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001985/0.5777, allocations: 222 kB / 0.845 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5777, allocations: 3.938 kB / 0.845 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003637/0.5781, allocations: 80.22 kB / 0.8451 GB, free: 3.215 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003171/0.5784, allocations: 166.1 kB / 0.8453 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.5788, allocations: 177.4 kB / 0.8455 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5788, allocations: 3.938 kB / 0.8455 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.579, allocations: 90.3 kB / 0.8455 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008156/0.5798, allocations: 161.6 kB / 0.8457 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.5807, allocations: 0.7106 MB / 0.8464 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.581, allocations: 0.7753 MB / 0.8471 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.5813, allocations: 66.39 kB / 0.8472 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.5813, allocations: 24.19 kB / 0.8472 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.5813, allocations: 0 / 0.8472 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.008904/0.5902, allocations: 5.287 MB / 0.8524 GB, free: 14.97 MB / 0.5762 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)