Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.000896, allocations: 99.2 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 180.6 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.724/0.724, allocations: 123 MB / 415.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003873, allocations: 8 kB / 0.4933 GB, free: 13.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4562, allocations: 79.29 MB / 0.5707 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1948/0.651, allocations: 163 MB / 0.7299 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003159/0.6542, allocations: 1.546 MB / 0.7314 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.6544, allocations: 11.94 kB / 0.7314 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.6549, allocations: 115.2 kB / 0.7315 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.6567, allocations: 0.6653 MB / 0.7322 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.6581, allocations: 0.5461 MB / 0.7327 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009717/0.6591, allocations: 0.9742 MB / 0.7336 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004061/0.6595, allocations: 205.4 kB / 0.7338 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006515/0.6602, allocations: 294.8 kB / 0.7341 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.6605, allocations: 227 kB / 0.7343 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.425e-05/0.6606, allocations: 12 kB / 0.7344 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.6624, allocations: 1.013 MB / 0.7353 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.6625, allocations: 103.7 kB / 0.7354 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.6627, allocations: 176.9 kB / 0.7356 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.6638, allocations: 0.7634 MB / 0.7364 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6638, allocations: 3.938 kB / 0.7364 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6638, allocations: 0 / 0.7364 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.6638, allocations: 0 / 0.7364 GB, free: 2.445 MB / 0.5606 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.001073/0.6649, allocations: 0.6005 MB / 0.7369 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.6649, allocations: 8.031 kB / 0.737 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.6663, allocations: 151.4 kB / 0.7371 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.6668, allocations: 309.7 kB / 0.7374 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.6668, allocations: 12.44 kB / 0.7374 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.6668, allocations: 24 kB / 0.7374 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.6674, allocations: 283.5 kB / 0.7377 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6674, allocations: 3.938 kB / 0.7377 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.6675, allocations: 8 kB / 0.7377 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.6675, allocations: 7.984 kB / 0.7377 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.6679, allocations: 211.8 kB / 0.7379 GB, free: 0.7383 MB / 0.5606 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.001732/0.6697, allocations: 1.213 MB / 0.7391 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.67, allocations: 138.5 kB / 0.7392 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.6702, allocations: 96.8 kB / 0.7393 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008302/0.6711, allocations: 315.2 kB / 0.7396 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.6711, allocations: 46.42 kB / 0.7397 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.6711, allocations: 0 / 0.7397 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001122/0.6723, allocations: 301.4 kB / 0.74 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.6723, allocations: 51.41 kB / 0.74 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.6727, allocations: 312.5 kB / 0.7403 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.6727, allocations: 29.7 kB / 0.7403 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.6729, allocations: 188 kB / 0.7405 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.673, allocations: 47.28 kB / 0.7406 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.6731, allocations: 29.7 kB / 0.7406 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000291/0.6734, allocations: 334.8 kB / 0.7409 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.6736, allocations: 71.95 kB / 0.741 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.6738, allocations: 133 kB / 0.7411 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.6742, allocations: 197 kB / 0.7413 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6742, allocations: 0 / 0.7413 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004788/0.6747, allocations: 253.1 kB / 0.7415 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.6747, allocations: 4 kB / 0.7415 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6747, allocations: 0 / 0.7415 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6747, allocations: 8.094 kB / 0.7415 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.675, allocations: 47.91 kB / 0.7416 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.675, allocations: 0 / 0.7416 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.6752, allocations: 35.73 kB / 0.7416 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.6752, allocations: 8 kB / 0.7416 GB, free: 12.66 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.6754, allocations: 165.6 kB / 0.7418 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.6755, allocations: 31.66 kB / 0.7418 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/0.676, allocations: 225.9 kB / 0.742 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.676, allocations: 0 / 0.742 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.676, allocations: 8 kB / 0.742 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.676, allocations: 0 / 0.742 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.6774, allocations: 0.699 MB / 0.7427 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6774, allocations: 4 kB / 0.7427 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.6776, allocations: 31.97 kB / 0.7428 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.6776, allocations: 4 kB / 0.7428 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.6777, allocations: 8.156 kB / 0.7428 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.6777, allocations: 11.94 kB / 0.7428 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6777, allocations: 0 / 0.7428 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/0.6784, allocations: 450.2 kB / 0.7432 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.6785, allocations: 128.7 kB / 0.7433 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.6786, allocations: 11.94 kB / 0.7433 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.6788, allocations: 15.98 kB / 0.7434 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.6789, allocations: 11.98 kB / 0.7434 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.6789, allocations: 8 kB / 0.7434 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002255/0.6791, allocations: 231 kB / 0.7436 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6791, allocations: 0 / 0.7436 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004303/0.6796, allocations: 76 kB / 0.7437 GB, free: 10.42 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004326/0.68, allocations: 166.6 kB / 0.7438 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.6805, allocations: 183.8 kB / 0.744 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6805, allocations: 0 / 0.744 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.6807, allocations: 92.45 kB / 0.7441 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.6818, allocations: 167.4 kB / 0.7443 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.6829, allocations: 0.7225 MB / 0.745 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.6834, allocations: 0.7797 MB / 0.7457 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.6836, allocations: 62.92 kB / 0.7458 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.6837, allocations: 23.44 kB / 0.7458 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.6837, allocations: 0 / 0.7458 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of Templates: time 0.01154/0.6952, allocations: 5.433 MB / 0.7511 GB, free: 2.828 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)