Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 183.6 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 0.5785 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008912/0.0008913, allocations: 92.98 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003811, allocations: 14.06 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.235, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.215/4.45, allocations: 2.18 GB / 3.081 GB, free: 40.55 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/4.451, allocations: 88.61 kB / 3.081 GB, free: 40.46 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7512/5.202, allocations: 235.2 MB / 3.311 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.443e-06/5.202, allocations: 4 kB / 3.311 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.765e-05/5.202, allocations: 8 kB / 3.311 GB, free: 165.7 MB / 0.8855 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.00103/5.203, allocations: 0.6779 MB / 3.311 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/5.203, allocations: 12.03 kB / 3.311 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/5.204, allocations: 148.4 kB / 3.311 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/5.204, allocations: 331 kB / 3.312 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/5.204, allocations: 21.38 kB / 3.312 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/5.204, allocations: 24 kB / 3.312 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/5.205, allocations: 275.4 kB / 3.312 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/5.205, allocations: 7.938 kB / 3.312 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.872e-05/5.205, allocations: 8 kB / 3.312 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/5.205, allocations: 8 kB / 3.312 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/5.205, allocations: 191.8 kB / 3.312 GB, free: 163.9 MB / 0.8855 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.001073/5.206, allocations: 1.209 MB / 3.313 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/5.207, allocations: 130.5 kB / 3.314 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/5.207, allocations: 85.08 kB / 3.314 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/5.207, allocations: 307.1 kB / 3.314 GB, free: 162 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/5.207, allocations: 34.56 kB / 3.314 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/5.207, allocations: 0 / 3.314 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0006137/5.208, allocations: 270.6 kB / 3.314 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/5.208, allocations: 51.41 kB / 3.314 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/5.208, allocations: 320.4 kB / 3.315 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/5.208, allocations: 29.7 kB / 3.315 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/5.208, allocations: 180.2 kB / 3.315 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/5.208, allocations: 59.19 kB / 3.315 GB, free: 161 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/5.208, allocations: 0 / 3.315 GB, free: 161 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.067e-05/5.208, allocations: 338.8 kB / 3.315 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/5.208, allocations: 63.95 kB / 3.315 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/5.208, allocations: 142.6 kB / 3.315 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/5.209, allocations: 185 kB / 3.316 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/5.209, allocations: 0 / 3.316 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003536/5.209, allocations: 238.2 kB / 3.316 GB, free: 160 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/5.209, allocations: 8 kB / 3.316 GB, free: 160 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/5.209, allocations: 0 / 3.316 GB, free: 160 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/5.209, allocations: 4 kB / 3.316 GB, free: 160 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/5.209, allocations: 43.91 kB / 3.316 GB, free: 160 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/5.209, allocations: 4 kB / 3.316 GB, free: 160 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/5.21, allocations: 39.86 kB / 3.316 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/5.21, allocations: 8 kB / 3.316 GB, free: 159.9 MB / 0.8855 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.0001032/5.21, allocations: 161.7 kB / 3.316 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/5.21, allocations: 27.62 kB / 3.316 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/5.21, allocations: 226.7 kB / 3.316 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/5.21, allocations: 4 kB / 3.316 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/5.21, allocations: 0 / 3.316 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/5.21, allocations: 0 / 3.316 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/5.211, allocations: 0.6756 MB / 3.317 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/5.211, allocations: 4 kB / 3.317 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/5.211, allocations: 35.91 kB / 3.317 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/5.211, allocations: 7.938 kB / 3.317 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/5.211, allocations: 8 kB / 3.317 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/5.211, allocations: 0 / 3.317 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/5.211, allocations: 4 kB / 3.317 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/5.212, allocations: 421.2 kB / 3.317 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/5.212, allocations: 120.7 kB / 3.317 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/5.212, allocations: 7.938 kB / 3.317 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/5.212, allocations: 24.05 kB / 3.318 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/5.212, allocations: 7.984 kB / 3.318 GB, free: 158 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/5.212, allocations: 12 kB / 3.318 GB, free: 158 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001473/5.212, allocations: 223 kB / 3.318 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/5.212, allocations: 0 / 3.318 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005657/5.213, allocations: 179.8 kB / 3.318 GB, free: 157.6 MB / 0.8855 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.001106/5.214, allocations: 1.039 MB / 3.319 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003458/5.214, allocations: 169.1 kB / 3.319 GB, free: 156.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/5.214, allocations: 4 kB / 3.319 GB, free: 156.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/5.214, allocations: 83.83 kB / 3.319 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/5.215, allocations: 168.4 kB / 3.319 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/5.216, allocations: 0.7003 MB / 3.32 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/5.216, allocations: 0.7797 MB / 3.321 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002037/5.216, allocations: 58.94 kB / 3.321 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/5.216, allocations: 23.44 kB / 3.321 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/5.216, allocations: 0 / 3.321 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.01955/5.236, allocations: 17.95 MB / 3.338 GB, free: 136.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)