Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure") translateModel(IBPSA.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 95.52 kB / 16.63 MB, free: 6.363 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.001428/0.001428, allocations: 186.5 kB / 17.56 MB, free: 5.816 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.433/1.433, allocations: 222.9 MB / 241.3 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8508/0.8508, allocations: 125.3 MB / 416.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.89 kB / 0.4943 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.369, allocations: 78.56 MB / 0.571 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.1978/0.5669, allocations: 167.2 MB / 0.7343 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009765/0.5767, allocations: 7.262 MB / 0.7414 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006311/0.5774, allocations: 11.94 kB / 0.7414 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007826/0.5782, allocations: 182.9 kB / 0.7415 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.58, allocations: 0.533 MB / 0.7421 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.5814, allocations: 388 kB / 0.7424 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.5825, allocations: 0.7089 MB / 0.7431 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004583/0.583, allocations: 267 kB / 0.7434 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.5842, allocations: 0.506 MB / 0.7439 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.5845, allocations: 235 kB / 0.7441 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.5846, allocations: 20 kB / 0.7441 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.5858, allocations: 0.7093 MB / 0.7448 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.5859, allocations: 111.7 kB / 0.7449 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.5861, allocations: 159.2 kB / 0.7451 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.5867, allocations: 403.2 kB / 0.7455 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5867, allocations: 0 / 0.7455 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5867, allocations: 3.938 kB / 0.7455 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.5868, allocations: 0 / 0.7455 GB, free: 4.543 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001013/0.5878, allocations: 0.6465 MB / 0.7461 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5878, allocations: 12.03 kB / 0.7461 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.5882, allocations: 67.48 kB / 0.7462 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.5886, allocations: 298.2 kB / 0.7464 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.5887, allocations: 16.44 kB / 0.7465 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.5887, allocations: 20 kB / 0.7465 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.5892, allocations: 308.5 kB / 0.7468 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5893, allocations: 4 kB / 0.7468 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.5893, allocations: 8 kB / 0.7468 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.5893, allocations: 12 kB / 0.7468 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.5897, allocations: 175.5 kB / 0.747 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.5916, allocations: 1.698 MB / 0.7486 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.5918, allocations: 90.41 kB / 0.7487 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.592, allocations: 84.88 kB / 0.7488 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/0.5923, allocations: 190.2 kB / 0.749 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.5924, allocations: 34.56 kB / 0.749 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.5924, allocations: 0 / 0.749 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006947/0.5931, allocations: 226.1 kB / 0.7492 GB, free: 384 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.5932, allocations: 55.34 kB / 0.7493 GB, free: 316 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2859/0.879, allocations: 319.7 kB / 0.7496 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/0.8792, allocations: 27.3 kB / 0.7496 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.8793, allocations: 197.2 kB / 0.7498 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.8794, allocations: 37.22 kB / 0.7498 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.8795, allocations: 52.23 kB / 0.7499 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.8796, allocations: 339.5 kB / 0.7502 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.8798, allocations: 62.66 kB / 0.7503 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.8801, allocations: 192 kB / 0.7504 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.8805, allocations: 236.4 kB / 0.7507 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.8805, allocations: 3.094 kB / 0.7507 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005796/0.8811, allocations: 256.6 kB / 0.7509 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.8811, allocations: 6.312 kB / 0.7509 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.8811, allocations: 3.5 kB / 0.7509 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.8812, allocations: 5.531 kB / 0.7509 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.8814, allocations: 55.89 kB / 0.751 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.8814, allocations: 5.406 kB / 0.751 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.8817, allocations: 42.19 kB / 0.751 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.8818, allocations: 11.25 kB / 0.751 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000249/0.882, allocations: 170.2 kB / 0.7512 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002447/0.8823, allocations: 194 kB / 0.7514 GB, free: 171 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003446/0.8826, allocations: 231.8 kB / 0.7516 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.8827, allocations: 1.312 kB / 0.7516 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004859/0.8832, allocations: 250.7 kB / 0.7519 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.8832, allocations: 6.531 kB / 0.7519 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.8832, allocations: 4.438 kB / 0.7519 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.8832, allocations: 8.656 kB / 0.7519 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.8834, allocations: 45.8 kB / 0.7519 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.8834, allocations: 14.59 kB / 0.7519 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.8837, allocations: 31.72 kB / 0.752 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.8837, allocations: 16 kB / 0.752 GB, free: 170.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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 9.858e-05/0.8838, allocations: 198.2 kB / 0.7522 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.8839, allocations: 25.06 kB / 0.7522 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.8843, allocations: 170.4 kB / 0.7523 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.8843, allocations: 12.12 kB / 0.7524 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.8843, allocations: 2.25 kB / 0.7524 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.8843, allocations: 0.5625 kB / 0.7524 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009565/0.8853, allocations: 0.6136 MB / 0.753 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8853, allocations: 4.141 kB / 0.753 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.8854, allocations: 23.06 kB / 0.753 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.8855, allocations: 3.531 kB / 0.753 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.8855, allocations: 3.188 kB / 0.753 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.8855, allocations: 9.391 kB / 0.753 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8855, allocations: 2.094 kB / 0.753 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.8859, allocations: 304.6 kB / 0.7533 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.886, allocations: 118.4 kB / 0.7534 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.886, allocations: 11.27 kB / 0.7534 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.8862, allocations: 12.94 kB / 0.7534 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.8863, allocations: 12.27 kB / 0.7534 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.8863, allocations: 9.016 kB / 0.7535 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002832/0.8866, allocations: 226 kB / 0.7537 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8866, allocations: 1.25 kB / 0.7537 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006681/0.8873, allocations: 127.7 kB / 0.7538 GB, free: 169.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.0004578/0.8877, allocations: 169.8 kB / 0.754 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007051/0.8885, allocations: 254.9 kB / 0.7542 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8885, allocations: 0.8125 kB / 0.7542 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.8886, allocations: 62.41 kB / 0.7543 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008519/0.8895, allocations: 126.9 kB / 0.7544 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.8904, allocations: 0.614 MB / 0.755 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.8907, allocations: 0.7782 MB / 0.7557 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.8908, allocations: 25.72 kB / 0.7558 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/0.8908, allocations: 0 / 0.7558 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.009694/0.9005, allocations: 4.439 MB / 0.7601 GB, free: 167.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)