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.7096/0.7096, allocations: 94.7 MB / 107.3 MB, free: 5.176 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.001463/0.001463, allocations: 173.5 kB / 130.7 MB, free: 7.539 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.748/1.748, allocations: 170.5 MB / 324.5 MB, free: 3.996 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.00168/0.00168, allocations: 103.2 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.506e-05/5.529e-05, allocations: 4 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.5621, allocations: 61.52 MB / 0.5054 GB, free: 49.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.1/16.66, allocations: 5.245 GB / 5.751 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/16.66, allocations: 86.2 kB / 5.751 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9371/17.6, allocations: 246.4 MB / 5.991 GB, free: 90.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.609e-06/17.6, allocations: 4 kB / 5.991 GB, free: 90.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.187e-05/17.6, allocations: 8 kB / 5.991 GB, free: 90.95 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.001731/17.6, allocations: 0.7955 MB / 5.992 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/17.6, allocations: 16.02 kB / 5.992 GB, free: 90.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/17.6, allocations: 59.34 kB / 5.992 GB, free: 90.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006569/17.6, allocations: 416.2 kB / 5.993 GB, free: 89.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/17.6, allocations: 32.77 kB / 5.993 GB, free: 89.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/17.6, allocations: 39.94 kB / 5.993 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/17.6, allocations: 467.7 kB / 5.993 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/17.6, allocations: 4.453 kB / 5.993 GB, free: 89.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/17.6, allocations: 16 kB / 5.993 GB, free: 89.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/17.6, allocations: 10.75 kB / 5.993 GB, free: 89.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006081/17.61, allocations: 430.9 kB / 5.994 GB, free: 88.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/17.61, allocations: 1.64 MB / 5.995 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/17.61, allocations: 130.5 kB / 5.995 GB, free: 86.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/17.61, allocations: 96.77 kB / 5.995 GB, free: 86.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/17.61, allocations: 129 kB / 5.996 GB, free: 86.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/17.61, allocations: 38.5 kB / 5.996 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=24): time 1.933e-06/17.61, allocations: 4 kB / 5.996 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.000495/17.61, allocations: 272.5 kB / 5.996 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/17.61, allocations: 55.41 kB / 5.996 GB, free: 86.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/17.61, allocations: 451.8 kB / 5.996 GB, free: 85.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/17.61, allocations: 33.7 kB / 5.996 GB, free: 85.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/17.61, allocations: 255.7 kB / 5.997 GB, free: 85.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/17.61, allocations: 82.81 kB / 5.997 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/17.61, allocations: 8 kB / 5.997 GB, free: 85.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001026/17.61, allocations: 358.8 kB / 5.997 GB, free: 84.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/17.61, allocations: 116 kB / 5.997 GB, free: 84.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/17.61, allocations: 192.3 kB / 5.997 GB, free: 84.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/17.61, allocations: 132.9 kB / 5.997 GB, free: 84.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/17.61, allocations: 0 / 5.997 GB, free: 84.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005372/17.61, allocations: 412.3 kB / 5.998 GB, free: 84.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/17.61, allocations: 4 kB / 5.998 GB, free: 84.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/17.61, allocations: 4 kB / 5.998 GB, free: 84.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/17.61, allocations: 4 kB / 5.998 GB, free: 84.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/17.61, allocations: 83.89 kB / 5.998 GB, free: 83.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/17.61, allocations: 7.984 kB / 5.998 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/17.61, allocations: 71.42 kB / 5.998 GB, free: 83.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/17.61, allocations: 19.98 kB / 5.998 GB, free: 83.84 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 () * 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.0001037/17.61, allocations: 120.9 kB / 5.998 GB, free: 83.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/17.61, allocations: 47.44 kB / 5.998 GB, free: 83.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006244/17.61, allocations: 394 kB / 5.999 GB, free: 83.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/17.61, allocations: 4 kB / 5.999 GB, free: 83.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/17.61, allocations: 3.938 kB / 5.999 GB, free: 83.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/17.61, allocations: 3.984 kB / 5.999 GB, free: 83.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/17.61, allocations: 0.8386 MB / 5.999 GB, free: 82.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/17.61, allocations: 4 kB / 5.999 GB, free: 82.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/17.61, allocations: 40.11 kB / 5.999 GB, free: 82.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/17.61, allocations: 7.938 kB / 5.999 GB, free: 82.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/17.61, allocations: 8 kB / 5.999 GB, free: 82.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/17.61, allocations: 7.984 kB / 5.999 GB, free: 82.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/17.61, allocations: 0 / 5.999 GB, free: 82.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/17.61, allocations: 0.5165 MB / 6 GB, free: 81.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/17.62, allocations: 196.4 kB / 6 GB, free: 81.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.971e-05/17.62, allocations: 15.98 kB / 6 GB, free: 81.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/17.62, allocations: 27.97 kB / 6 GB, free: 81.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/17.62, allocations: 11.94 kB / 6 GB, free: 81.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/17.62, allocations: 19.98 kB / 6 GB, free: 81.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004756/17.62, allocations: 489.5 kB / 6.001 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/17.62, allocations: 4 kB / 6.001 GB, free: 80.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001565/17.62, allocations: 399.5 kB / 6.001 GB, free: 80.53 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 () * 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.002156/17.62, allocations: 1.079 MB / 6.002 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004752/17.62, allocations: 243.9 kB / 6.002 GB, free: 79.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/17.62, allocations: 4 kB / 6.002 GB, free: 79.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/17.62, allocations: 87.86 kB / 6.002 GB, free: 79.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/17.62, allocations: 281.1 kB / 6.003 GB, free: 78.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/17.62, allocations: 0.6151 MB / 6.003 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/17.62, allocations: 0.8624 MB / 6.004 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004319/17.62, allocations: 100.5 kB / 6.004 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/17.62, allocations: 47.42 kB / 6.004 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of SimCode: time 7.12e-07/17.62, allocations: 3.938 kB / 6.004 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.0357/17.66, allocations: 26.84 MB / 6.03 GB, free: 50.41 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)