Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.507/2.507, allocations: 287.5 MB / 303.2 MB, free: 8.203 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.001373/0.001373, allocations: 190.6 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009287/0.0009283, allocations: 102.2 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004848, allocations: 13.5 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2279, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.549/6.777, allocations: 2.061 GB / 3.04 GB, free: 244.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/6.777, allocations: 94.7 kB / 3.041 GB, free: 244.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.506/8.283, allocations: 242.8 MB / 3.278 GB, free: 269.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.974e-06/8.284, allocations: 0 / 3.278 GB, free: 269.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.089e-05/8.284, allocations: 17.98 kB / 3.278 GB, free: 269.8 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.001701/8.285, allocations: 0.6754 MB / 3.278 GB, free: 269.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/8.285, allocations: 12.03 kB / 3.278 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/8.287, allocations: 151.6 kB / 3.278 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/8.288, allocations: 328.1 kB / 3.279 GB, free: 269.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/8.288, allocations: 23.19 kB / 3.279 GB, free: 269.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.104e-05/8.288, allocations: 24.56 kB / 3.279 GB, free: 269.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/8.289, allocations: 279 kB / 3.279 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/8.289, allocations: 2.719 kB / 3.279 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/8.289, allocations: 9.469 kB / 3.279 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/8.289, allocations: 5.469 kB / 3.279 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007196/8.29, allocations: 192.6 kB / 3.279 GB, free: 269.1 MB / 0.948 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.002054/8.292, allocations: 1.209 MB / 3.281 GB, free: 268.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/8.292, allocations: 125.9 kB / 3.281 GB, free: 268.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/8.293, allocations: 90.92 kB / 3.281 GB, free: 268.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007082/8.293, allocations: 296.2 kB / 3.281 GB, free: 268 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/8.293, allocations: 44.8 kB / 3.281 GB, free: 268 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 2.515e-06/8.293, allocations: 0.5938 kB / 3.281 GB, free: 268 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.001288/8.295, allocations: 275.8 kB / 3.281 GB, free: 267.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/8.295, allocations: 57.69 kB / 3.281 GB, free: 267.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/8.295, allocations: 312.6 kB / 3.282 GB, free: 267.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/8.295, allocations: 34.58 kB / 3.282 GB, free: 267.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/8.295, allocations: 184 kB / 3.282 GB, free: 267.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/8.296, allocations: 53.7 kB / 3.282 GB, free: 267.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/8.296, allocations: 0.9375 kB / 3.282 GB, free: 267.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/8.296, allocations: 338.8 kB / 3.282 GB, free: 267.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/8.296, allocations: 65.27 kB / 3.282 GB, free: 267.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/8.296, allocations: 131.4 kB / 3.282 GB, free: 267.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/8.297, allocations: 188.4 kB / 3.283 GB, free: 267.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/8.297, allocations: 1.094 kB / 3.283 GB, free: 267.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008141/8.298, allocations: 242.8 kB / 3.283 GB, free: 267.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/8.298, allocations: 5.719 kB / 3.283 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/8.298, allocations: 2.125 kB / 3.283 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/8.298, allocations: 2.469 kB / 3.283 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/8.298, allocations: 43.73 kB / 3.283 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/8.298, allocations: 8.703 kB / 3.283 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/8.299, allocations: 42.53 kB / 3.283 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/8.299, allocations: 12.2 kB / 3.283 GB, free: 267.1 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 () * 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.0002288/8.299, allocations: 150.4 kB / 3.283 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/8.299, allocations: 29.17 kB / 3.283 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008147/8.3, allocations: 218.1 kB / 3.283 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/8.3, allocations: 1.75 kB / 3.283 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/8.3, allocations: 3.875 kB / 3.283 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/8.3, allocations: 1.312 kB / 3.283 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/8.302, allocations: 0.6732 MB / 3.284 GB, free: 266.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/8.302, allocations: 2 kB / 3.284 GB, free: 266.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/8.302, allocations: 34.19 kB / 3.284 GB, free: 266.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/8.302, allocations: 7.188 kB / 3.284 GB, free: 266.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/8.302, allocations: 11.88 kB / 3.284 GB, free: 266.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/8.302, allocations: 2.5 kB / 3.284 GB, free: 266.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/8.302, allocations: 9.516 kB / 3.284 GB, free: 266.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/8.303, allocations: 423.8 kB / 3.284 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/8.304, allocations: 126.3 kB / 3.285 GB, free: 266.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/8.304, allocations: 7.406 kB / 3.285 GB, free: 266.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/8.304, allocations: 23.89 kB / 3.285 GB, free: 266.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/8.304, allocations: 11.94 kB / 3.285 GB, free: 266.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/8.304, allocations: 11.72 kB / 3.285 GB, free: 266.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003763/8.305, allocations: 226.3 kB / 3.285 GB, free: 266.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/8.305, allocations: 0 / 3.285 GB, free: 266.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001017/8.306, allocations: 173.8 kB / 3.285 GB, free: 266.2 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 () * 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.002337/8.308, allocations: 1.024 MB / 3.286 GB, free: 266 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009004/8.309, allocations: 172.5 kB / 3.286 GB, free: 266 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/8.309, allocations: 0 / 3.286 GB, free: 266 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003371/8.309, allocations: 89.92 kB / 3.286 GB, free: 266 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/8.311, allocations: 163.9 kB / 3.286 GB, free: 266 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/8.313, allocations: 0.7014 MB / 3.287 GB, free: 265.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/8.313, allocations: 0.7806 MB / 3.288 GB, free: 264.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007305/8.314, allocations: 59.28 kB / 3.288 GB, free: 264.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/8.314, allocations: 24.66 kB / 3.288 GB, free: 264.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.512e-06/8.314, allocations: 0 / 3.288 GB, free: 264.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05577/8.37, allocations: 17.86 MB / 3.305 GB, free: 264.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)