Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 289.7 MB / 302.2 MB, free: 2.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 183.3 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 90.75 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.137e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.506/5.765, allocations: 2.062 GB / 3.042 GB, free: 180.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/5.765, allocations: 84.56 kB / 3.042 GB, free: 180.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.186/6.951, allocations: 243 MB / 3.279 GB, free: 224.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.507e-06/6.951, allocations: 0 / 3.279 GB, free: 224.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.855e-05/6.951, allocations: 10.09 kB / 3.279 GB, free: 224.3 MB / 0.948 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.001108/6.952, allocations: 0.6269 MB / 3.28 GB, free: 223.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/6.952, allocations: 12.22 kB / 3.28 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/6.953, allocations: 156.5 kB / 3.28 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/6.954, allocations: 310.7 kB / 3.28 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/6.954, allocations: 22.52 kB / 3.28 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/6.954, allocations: 25.56 kB / 3.28 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/6.954, allocations: 256.6 kB / 3.281 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/6.954, allocations: 0 / 3.281 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/6.954, allocations: 8.781 kB / 3.281 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/6.954, allocations: 6.219 kB / 3.281 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/6.954, allocations: 153.8 kB / 3.281 GB, free: 223.5 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001294/6.956, allocations: 1.219 MB / 3.282 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/6.956, allocations: 107.2 kB / 3.282 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.769e-05/6.956, allocations: 71.39 kB / 3.282 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/6.956, allocations: 301.2 kB / 3.283 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/6.956, allocations: 34.12 kB / 3.283 GB, free: 222.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/6.957, allocations: 0 / 3.283 GB, free: 222.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0004614/6.957, allocations: 179.2 kB / 3.283 GB, free: 222.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/6.957, allocations: 55.25 kB / 3.283 GB, free: 222.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/6.957, allocations: 273.4 kB / 3.283 GB, free: 222.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/6.957, allocations: 32.48 kB / 3.283 GB, free: 222.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/6.957, allocations: 183.4 kB / 3.283 GB, free: 222 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/6.957, allocations: 52.52 kB / 3.283 GB, free: 222 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/6.957, allocations: 6.062 kB / 3.283 GB, free: 222 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/6.958, allocations: 342.1 kB / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.717e-05/6.958, allocations: 45.73 kB / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/6.958, allocations: 118.2 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/6.958, allocations: 61.3 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/6.958, allocations: 6.375 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002873/6.958, allocations: 198.9 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/6.958, allocations: 6.594 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/6.958, allocations: 6.609 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/6.958, allocations: 0 / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/6.958, allocations: 49.75 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/6.958, allocations: 3.984 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/6.959, allocations: 42.58 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/6.959, allocations: 13.5 kB / 3.284 GB, free: 221.6 MB / 0.948 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 () * 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 7.479e-05/6.959, allocations: 119.7 kB / 3.284 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/6.959, allocations: 25.16 kB / 3.284 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/6.959, allocations: 192.8 kB / 3.284 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/6.959, allocations: 0 / 3.284 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/6.959, allocations: 3.344 kB / 3.284 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/6.959, allocations: 3.422 kB / 3.284 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007562/6.96, allocations: 0.6303 MB / 3.285 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/6.96, allocations: 0 / 3.285 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/6.96, allocations: 37.17 kB / 3.285 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/6.96, allocations: 6.281 kB / 3.285 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/6.96, allocations: 6.719 kB / 3.285 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/6.96, allocations: 6.312 kB / 3.285 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/6.96, allocations: 3.562 kB / 3.285 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/6.961, allocations: 466.7 kB / 3.286 GB, free: 220.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/6.961, allocations: 121.5 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/6.961, allocations: 9.531 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/6.961, allocations: 20.14 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/6.961, allocations: 16.7 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/6.961, allocations: 6.688 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001946/6.961, allocations: 225.8 kB / 3.286 GB, free: 220.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/6.961, allocations: 0 / 3.286 GB, free: 220.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007733/6.962, allocations: 170.8 kB / 3.286 GB, free: 220.5 MB / 0.948 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 () * 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.001519/6.964, allocations: 1.039 MB / 3.287 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002725/6.964, allocations: 130.7 kB / 3.287 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/6.964, allocations: 0 / 3.287 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/6.964, allocations: 73.16 kB / 3.287 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/6.965, allocations: 152.5 kB / 3.288 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/6.966, allocations: 435.8 kB / 3.288 GB, free: 220.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/6.966, allocations: 0.7829 MB / 3.289 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002081/6.966, allocations: 67.7 kB / 3.289 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/6.966, allocations: 29 kB / 3.289 GB, free: 219.3 MB / 0.948 GB Notification: Performance of SimCode: time 4.4e-07/6.966, allocations: 0 / 3.289 GB, free: 219.3 MB / 0.948 GB Notification: Performance of Templates: time 0.03251/6.999, allocations: 20.65 MB / 3.309 GB, free: 217.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)