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 1.766/1.766, allocations: 287.5 MB / 302.6 MB, free: 8.234 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.0009861/0.0009863, allocations: 184.9 kB / 371.2 MB, free: 10.82 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.718/1.718, allocations: 205.4 MB / 0.6299 GB, free: 10.54 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.0008815/0.0008815, allocations: 96.16 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004465, allocations: 16.81 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2535, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7581/1.012, allocations: 152 MB / 1.127 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0033/1.015, allocations: 1.477 MB / 1.129 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/1.015, allocations: 9.875 kB / 1.129 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00047/1.016, allocations: 103.7 kB / 1.129 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/1.018, allocations: 0.5085 MB / 1.129 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/1.019, allocations: 452.4 kB / 1.13 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009636/1.02, allocations: 0.8369 MB / 1.13 GB, free: 432 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/1.02, allocations: 200.8 kB / 1.131 GB, free: 392 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/1.021, allocations: 308 kB / 1.131 GB, free: 320 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/1.021, allocations: 216.3 kB / 1.131 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/1.021, allocations: 13.19 kB / 1.131 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/1.022, allocations: 465 kB / 1.132 GB, free: 224 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/1.023, allocations: 98.91 kB / 1.132 GB, free: 212 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/1.023, allocations: 78.33 kB / 1.132 GB, free: 16.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006962/1.023, allocations: 440.5 kB / 1.132 GB, free: 16.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.023, allocations: 4 kB / 1.132 GB, free: 16.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/1.023, allocations: 0 / 1.132 GB, free: 16.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.023, allocations: 0 / 1.132 GB, free: 16.12 MB / 0.698 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.0009032/1.024, allocations: 0.5933 MB / 1.133 GB, free: 15.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.024, allocations: 9.719 kB / 1.133 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.025, allocations: 162.3 kB / 1.133 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/1.026, allocations: 306.5 kB / 1.133 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/1.026, allocations: 15.75 kB / 1.133 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/1.026, allocations: 24.56 kB / 1.133 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/1.026, allocations: 277.6 kB / 1.134 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/1.026, allocations: 3.938 kB / 1.134 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/1.027, allocations: 13.47 kB / 1.134 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.027, allocations: 5.75 kB / 1.134 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/1.027, allocations: 202.6 kB / 1.134 GB, free: 15.3 MB / 0.698 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.001487/1.028, allocations: 1.217 MB / 1.135 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/1.029, allocations: 143.4 kB / 1.135 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/1.029, allocations: 95.55 kB / 1.135 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/1.03, allocations: 316.3 kB / 1.135 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/1.03, allocations: 37.56 kB / 1.135 GB, free: 14.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/1.03, allocations: 0 / 1.135 GB, free: 14.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0007559/1.03, allocations: 297 kB / 1.136 GB, free: 14.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/1.03, allocations: 53.38 kB / 1.136 GB, free: 13.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/1.031, allocations: 315.6 kB / 1.136 GB, free: 13.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/1.031, allocations: 25.7 kB / 1.136 GB, free: 13.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.031, allocations: 182.6 kB / 1.136 GB, free: 13.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/1.031, allocations: 57.67 kB / 1.136 GB, free: 13.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-06/1.031, allocations: 3.312 kB / 1.136 GB, free: 13.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.031, allocations: 338.3 kB / 1.137 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/1.031, allocations: 77.97 kB / 1.137 GB, free: 13.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/1.032, allocations: 121.2 kB / 1.137 GB, free: 13.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/1.032, allocations: 200.4 kB / 1.137 GB, free: 13.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.032, allocations: 2.906 kB / 1.137 GB, free: 13.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004324/1.032, allocations: 260.2 kB / 1.137 GB, free: 13.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.032, allocations: 5.438 kB / 1.137 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.032, allocations: 3.938 kB / 1.137 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.032, allocations: 3.562 kB / 1.137 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/1.033, allocations: 49.06 kB / 1.137 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/1.033, allocations: 2.688 kB / 1.137 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/1.033, allocations: 40.41 kB / 1.137 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/1.033, allocations: 7.656 kB / 1.137 GB, free: 13.16 MB / 0.698 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.0001516/1.033, allocations: 153.7 kB / 1.138 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/1.033, allocations: 29.89 kB / 1.138 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/1.034, allocations: 227.1 kB / 1.138 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.034, allocations: 5.797 kB / 1.138 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.034, allocations: 0 / 1.138 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/1.034, allocations: 0 / 1.138 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009726/1.035, allocations: 0.6995 MB / 1.139 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.035, allocations: 2.219 kB / 1.139 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/1.035, allocations: 35.5 kB / 1.139 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.035, allocations: 3.188 kB / 1.139 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/1.035, allocations: 9.469 kB / 1.139 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/1.035, allocations: 7.156 kB / 1.139 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.035, allocations: 1.594 kB / 1.139 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006369/1.036, allocations: 450.1 kB / 1.139 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/1.036, allocations: 120.9 kB / 1.139 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/1.036, allocations: 10.84 kB / 1.139 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/1.036, allocations: 24.75 kB / 1.139 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/1.036, allocations: 14.22 kB / 1.139 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/1.036, allocations: 3.375 kB / 1.139 GB, free: 12.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002037/1.036, allocations: 224.3 kB / 1.139 GB, free: 12.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/1.036, allocations: 0 / 1.139 GB, free: 12.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003934/1.037, allocations: 80.97 kB / 1.139 GB, free: 12.16 MB / 0.698 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.0004273/1.037, allocations: 164.8 kB / 1.14 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004377/1.038, allocations: 181.3 kB / 1.14 GB, free: 12.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.038, allocations: 3.938 kB / 1.14 GB, free: 12.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/1.038, allocations: 88.66 kB / 1.14 GB, free: 12.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009419/1.039, allocations: 163 kB / 1.14 GB, free: 12.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/1.04, allocations: 0.7102 MB / 1.141 GB, free: 11.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/1.04, allocations: 0.7756 MB / 1.141 GB, free: 10.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002451/1.041, allocations: 67.02 kB / 1.142 GB, free: 10.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/1.041, allocations: 27.25 kB / 1.142 GB, free: 10.87 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/1.041, allocations: 1.031 kB / 1.142 GB, free: 10.87 MB / 0.698 GB Notification: Performance of Templates: time 0.0114/1.052, allocations: 5.277 MB / 1.147 GB, free: 8.957 MB / 0.698 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)