Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5492/0.5492, allocations: 95.62 MB / 110.6 MB, free: 9.375 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001065/0.001065, allocations: 168.2 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.592/1.592, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001788/0.001788, allocations: 123.2 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004093, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1683, allocations: 61.53 MB / 0.512 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13/13.17, allocations: 5.245 GB / 5.757 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/13.17, allocations: 90.5 kB / 5.757 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7821/13.95, allocations: 246.8 MB / 5.998 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.012e-06/13.95, allocations: 0 / 5.998 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.467e-05/13.95, allocations: 12.86 kB / 5.998 GB, free: 117.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001813/13.95, allocations: 0.8561 MB / 5.999 GB, free: 117 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/13.95, allocations: 13.17 kB / 5.999 GB, free: 117 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002764/13.95, allocations: 61.03 kB / 5.999 GB, free: 117 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/13.95, allocations: 421.9 kB / 6 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/13.95, allocations: 27.56 kB / 6 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/13.95, allocations: 38.33 kB / 6 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/13.95, allocations: 497.3 kB / 6 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/13.95, allocations: 3.266 kB / 6 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.824e-05/13.95, allocations: 15.97 kB / 6 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/13.95, allocations: 10.78 kB / 6 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000729/13.95, allocations: 476.5 kB / 6.001 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/13.96, allocations: 1.639 MB / 6.002 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/13.96, allocations: 154 kB / 6.003 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/13.96, allocations: 127.2 kB / 6.003 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/13.96, allocations: 34.56 kB / 6.003 GB, free: 115 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=24): time 1.864e-06/13.96, allocations: 0 / 6.003 GB, free: 115 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.0007655/13.96, allocations: 411.7 kB / 6.003 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/13.96, allocations: 55.34 kB / 6.003 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/13.96, allocations: 460.2 kB / 6.004 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/13.96, allocations: 37.58 kB / 6.004 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/13.96, allocations: 244.2 kB / 6.004 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/13.96, allocations: 92.16 kB / 6.004 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/13.96, allocations: 8 kB / 6.004 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/13.96, allocations: 354.6 kB / 6.004 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/13.96, allocations: 134.7 kB / 6.004 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/13.96, allocations: 212.9 kB / 6.005 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/13.96, allocations: 156.9 kB / 6.005 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/13.96, allocations: 0 / 6.005 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007889/13.96, allocations: 456.4 kB / 6.005 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/13.96, allocations: 7.281 kB / 6.005 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/13.96, allocations: 3.25 kB / 6.005 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/13.96, allocations: 6.75 kB / 6.005 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/13.96, allocations: 86.86 kB / 6.005 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/13.96, allocations: 3.969 kB / 6.005 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/13.96, allocations: 65.23 kB / 6.005 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/13.96, allocations: 18.75 kB / 6.005 GB, free: 113.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 41 * 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.0002183/13.96, allocations: 187.9 kB / 6.006 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/13.96, allocations: 49.38 kB / 6.006 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008111/13.96, allocations: 420.2 kB / 6.006 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/13.96, allocations: 7.516 kB / 6.006 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/13.96, allocations: 4 kB / 6.006 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/13.96, allocations: 3.797 kB / 6.006 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/13.96, allocations: 0.8715 MB / 6.007 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/13.96, allocations: 7.469 kB / 6.007 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/13.96, allocations: 33.53 kB / 6.007 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/13.96, allocations: 3.969 kB / 6.007 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/13.96, allocations: 11.09 kB / 6.007 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/13.96, allocations: 7.875 kB / 6.007 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/13.96, allocations: 0 / 6.007 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/13.96, allocations: 0.5711 MB / 6.007 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/13.96, allocations: 209.2 kB / 6.008 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/13.96, allocations: 7.719 kB / 6.008 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/13.96, allocations: 28.61 kB / 6.008 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/13.96, allocations: 18.7 kB / 6.008 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/13.96, allocations: 18.8 kB / 6.008 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005673/13.96, allocations: 496 kB / 6.008 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/13.96, allocations: 3.969 kB / 6.008 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00186/13.97, allocations: 385.2 kB / 6.009 GB, free: 111.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.002391/13.97, allocations: 1.084 MB / 6.01 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006755/13.97, allocations: 285.2 kB / 6.01 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/13.97, allocations: 0 / 6.01 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/13.97, allocations: 107 kB / 6.01 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/13.97, allocations: 273.7 kB / 6.01 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/13.97, allocations: 1.054 MB / 6.011 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/13.97, allocations: 0.8606 MB / 6.012 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003901/13.97, allocations: 107.8 kB / 6.012 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/13.97, allocations: 51.19 kB / 6.012 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/13.97, allocations: 0 / 6.012 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.03228/14.01, allocations: 24.22 MB / 6.036 GB, free: 95.16 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)