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.00131/0.00131, allocations: 103.6 kB / 16.94 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 189.3 kB / 17.87 MB, free: 5.176 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.416/1.416, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8473/0.8473, allocations: 125.4 MB / 417.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 71.88 kB / 0.4948 GB, free: 4.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4062, allocations: 78.56 MB / 0.5715 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2089/0.6152, allocations: 167.4 MB / 0.735 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.6185, allocations: 1.551 MB / 0.7365 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.619, allocations: 11.94 kB / 0.7365 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.6196, allocations: 150.9 kB / 0.7366 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.6217, allocations: 0.7 MB / 0.7373 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.6236, allocations: 0.597 MB / 0.7379 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.6248, allocations: 0.6906 MB / 0.7386 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004624/0.6253, allocations: 233 kB / 0.7388 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.6266, allocations: 490.3 kB / 0.7393 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.627, allocations: 215 kB / 0.7395 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.996e-05/0.6271, allocations: 24 kB / 0.7395 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.6291, allocations: 0.8573 MB / 0.7403 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.6292, allocations: 103.7 kB / 0.7404 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.6295, allocations: 167.2 kB / 0.7406 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.6307, allocations: 0.7052 MB / 0.7413 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6308, allocations: 0 / 0.7413 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.542e-06/0.6308, allocations: 0 / 0.7413 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.6308, allocations: 0 / 0.7413 GB, free: 9.156 MB / 0.5762 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.001129/0.6319, allocations: 0.6543 MB / 0.7419 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.632, allocations: 12.02 kB / 0.7419 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.6332, allocations: 147.5 kB / 0.7421 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.6336, allocations: 309.6 kB / 0.7424 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.6337, allocations: 20.44 kB / 0.7424 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.6337, allocations: 19.94 kB / 0.7424 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.6343, allocations: 283.4 kB / 0.7427 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6343, allocations: 0 / 0.7427 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.6343, allocations: 12 kB / 0.7427 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.6343, allocations: 4 kB / 0.7427 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004336/0.6348, allocations: 199.8 kB / 0.7429 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.6363, allocations: 1.209 MB / 0.744 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.6367, allocations: 138.5 kB / 0.7442 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.6369, allocations: 92.8 kB / 0.7443 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/0.6376, allocations: 299.2 kB / 0.7446 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.6376, allocations: 38.56 kB / 0.7446 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.213e-06/0.6376, allocations: 0 / 0.7446 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007966/0.6384, allocations: 283.2 kB / 0.7449 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.6385, allocations: 55.34 kB / 0.7449 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.6389, allocations: 316.5 kB / 0.7452 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.6389, allocations: 33.7 kB / 0.7452 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.6391, allocations: 184.1 kB / 0.7454 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.6391, allocations: 55.19 kB / 0.7455 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.6392, allocations: 45.7 kB / 0.7455 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6394, allocations: 334.8 kB / 0.7458 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.6396, allocations: 71.88 kB / 0.7459 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.6398, allocations: 127.5 kB / 0.746 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.6402, allocations: 197 kB / 0.7462 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6402, allocations: 0 / 0.7462 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005042/0.6407, allocations: 239.7 kB / 0.7464 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6407, allocations: 10.34 kB / 0.7465 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.6408, allocations: 3.984 kB / 0.7465 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.6408, allocations: 4 kB / 0.7465 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.641, allocations: 39.92 kB / 0.7465 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.641, allocations: 4.094 kB / 0.7465 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.6412, allocations: 31.77 kB / 0.7465 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.6413, allocations: 11.94 kB / 0.7465 GB, free: 3.367 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.0001549/0.6414, allocations: 145.8 kB / 0.7467 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.6415, allocations: 35.61 kB / 0.7467 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.642, allocations: 212.3 kB / 0.7469 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.642, allocations: 7.984 kB / 0.7469 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.642, allocations: 4 kB / 0.7469 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.642, allocations: 0 / 0.7469 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.6432, allocations: 0.6835 MB / 0.7476 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.6432, allocations: 7.938 kB / 0.7476 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.6433, allocations: 31.92 kB / 0.7476 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6434, allocations: 0 / 0.7476 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.6434, allocations: 4 kB / 0.7476 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.6434, allocations: 7.984 kB / 0.7476 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6434, allocations: 0 / 0.7476 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.6441, allocations: 437.6 kB / 0.7481 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.6442, allocations: 128.7 kB / 0.7482 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.6443, allocations: 12 kB / 0.7482 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.6445, allocations: 7.984 kB / 0.7482 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.6445, allocations: 19.92 kB / 0.7482 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.6446, allocations: 4 kB / 0.7482 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002549/0.6448, allocations: 231.1 kB / 0.7485 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6448, allocations: 0 / 0.7485 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004098/0.6452, allocations: 79.91 kB / 0.7485 GB, free: 1.188 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.0004762/0.6457, allocations: 175.6 kB / 0.7487 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.6462, allocations: 182.5 kB / 0.7489 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6462, allocations: 0 / 0.7489 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.6464, allocations: 87.88 kB / 0.749 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.6473, allocations: 167.4 kB / 0.7491 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2752/0.9225, allocations: 0.6272 MB / 0.7497 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.9229, allocations: 0.7786 MB / 0.7505 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.923, allocations: 26.48 kB / 0.7505 GB, free: 171 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.923, allocations: 1.188 kB / 0.7505 GB, free: 171 MB / 0.5762 GB Notification: Performance of Templates: time 0.01065/0.9336, allocations: 4.799 MB / 0.7552 GB, free: 170.5 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)