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.0007827/0.0007827, allocations: 93.73 kB / 16.02 MB, free: 84 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.0009282/0.0009283, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8264/0.8264, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.00033, allocations: 12 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1522, allocations: 77.53 MB / 0.56 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.495/0.6473, allocations: 163 MB / 0.7191 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.65, allocations: 1.54 MB / 0.7206 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003613/0.6504, allocations: 7.938 kB / 0.7206 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.6509, allocations: 115.2 kB / 0.7207 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.6527, allocations: 0.673 MB / 0.7214 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.6542, allocations: 0.5467 MB / 0.7219 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.6553, allocations: 0.9781 MB / 0.7229 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004051/0.6557, allocations: 186.5 kB / 0.723 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006791/0.6564, allocations: 302.7 kB / 0.7233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.6568, allocations: 231 kB / 0.7235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.6569, allocations: 12 kB / 0.7236 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.6585, allocations: 1.005 MB / 0.7245 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.6587, allocations: 99.69 kB / 0.7246 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.6589, allocations: 180.9 kB / 0.7248 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.6602, allocations: 0.7672 MB / 0.7256 GB, free: 13.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6602, allocations: 0 / 0.7256 GB, free: 13.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6602, allocations: 0 / 0.7256 GB, free: 13.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.6602, allocations: 0 / 0.7256 GB, free: 13.27 MB / 0.545 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.001034/0.6613, allocations: 0.6005 MB / 0.7261 GB, free: 12.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6613, allocations: 8.031 kB / 0.7261 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.6626, allocations: 155.4 kB / 0.7263 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.6631, allocations: 297.7 kB / 0.7266 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.6632, allocations: 24.42 kB / 0.7266 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.6632, allocations: 27.98 kB / 0.7266 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005618/0.6638, allocations: 279.5 kB / 0.7269 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.6638, allocations: 3.938 kB / 0.7269 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.6639, allocations: 8 kB / 0.7269 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.6639, allocations: 12 kB / 0.7269 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.6644, allocations: 203.8 kB / 0.7271 GB, free: 11.56 MB / 0.545 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.001704/0.6661, allocations: 1.218 MB / 0.7283 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.6664, allocations: 142.5 kB / 0.7284 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.6666, allocations: 96.81 kB / 0.7285 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006479/0.6672, allocations: 319.2 kB / 0.7288 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.6673, allocations: 38.5 kB / 0.7289 GB, free: 9.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.6673, allocations: 0 / 0.7289 GB, free: 9.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0008021/0.6681, allocations: 298.2 kB / 0.7292 GB, free: 9.285 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.6682, allocations: 55.41 kB / 0.7292 GB, free: 9.219 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.6686, allocations: 312.5 kB / 0.7295 GB, free: 8.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.6686, allocations: 29.7 kB / 0.7295 GB, free: 8.871 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.6688, allocations: 180.2 kB / 0.7297 GB, free: 8.691 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.6688, allocations: 63.19 kB / 0.7298 GB, free: 8.629 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.6689, allocations: 17.72 kB / 0.7298 GB, free: 8.605 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.669, allocations: 342.8 kB / 0.7301 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.6692, allocations: 67.95 kB / 0.7302 GB, free: 8.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.6695, allocations: 129 kB / 0.7303 GB, free: 8.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.6699, allocations: 208.9 kB / 0.7305 GB, free: 7.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.6699, allocations: 3.984 kB / 0.7305 GB, free: 7.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005211/0.6704, allocations: 252.1 kB / 0.7307 GB, free: 7.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6705, allocations: 8 kB / 0.7308 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6705, allocations: 0 / 0.7308 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6705, allocations: 4 kB / 0.7308 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.6707, allocations: 35.98 kB / 0.7308 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.6707, allocations: 7.938 kB / 0.7308 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.671, allocations: 40.75 kB / 0.7308 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.671, allocations: 12 kB / 0.7308 GB, free: 7.469 MB / 0.545 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.0001717/0.6712, allocations: 149.7 kB / 0.731 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.6713, allocations: 31.62 kB / 0.731 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005278/0.6718, allocations: 226.7 kB / 0.7312 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.6718, allocations: 4 kB / 0.7312 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.6719, allocations: 0.8125 kB / 0.7312 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6719, allocations: 0 / 0.7312 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.6731, allocations: 0.699 MB / 0.7319 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6731, allocations: 224 / 0.7319 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.6733, allocations: 43.91 kB / 0.732 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6733, allocations: 8 kB / 0.732 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.6733, allocations: 11.94 kB / 0.732 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6733, allocations: 0 / 0.732 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6733, allocations: 4 kB / 0.732 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000757/0.6741, allocations: 452.9 kB / 0.7324 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.6742, allocations: 116.8 kB / 0.7325 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.6743, allocations: 11.92 kB / 0.7325 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.6745, allocations: 19.84 kB / 0.7326 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.6746, allocations: 23.97 kB / 0.7326 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.6746, allocations: 8.078 kB / 0.7326 GB, free: 5.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002521/0.6749, allocations: 223.1 kB / 0.7328 GB, free: 5.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6749, allocations: 0 / 0.7328 GB, free: 5.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004347/0.6753, allocations: 83.98 kB / 0.7329 GB, free: 5.238 MB / 0.545 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.0004518/0.6758, allocations: 169.4 kB / 0.733 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.6762, allocations: 175.8 kB / 0.7332 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.6763, allocations: 4.188 kB / 0.7332 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.6765, allocations: 91.83 kB / 0.7333 GB, free: 4.805 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009907/0.6775, allocations: 156.3 kB / 0.7335 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.6787, allocations: 0.738 MB / 0.7342 GB, free: 3.863 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.6792, allocations: 0.7758 MB / 0.7349 GB, free: 3.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000264/0.6795, allocations: 58.94 kB / 0.735 GB, free: 3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.6795, allocations: 23.44 kB / 0.735 GB, free: 2.977 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.6796, allocations: 4 kB / 0.735 GB, free: 2.973 MB / 0.545 GB Notification: Performance of Templates: time 0.01136/0.6909, allocations: 5.426 MB / 0.7403 GB, free: 13.65 MB / 0.5606 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)