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.001567/0.001567, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.001678/0.001678, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.446/1.446, allocations: 222.9 MB / 241.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8418/0.8418, allocations: 125.4 MB / 417.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.91 kB / 0.4948 GB, free: 4.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5185, allocations: 78.56 MB / 0.5715 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.2075/0.726, allocations: 169.5 MB / 0.737 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.7361, allocations: 7.302 MB / 0.7441 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007018/0.7368, allocations: 11.94 kB / 0.7441 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008414/0.7377, allocations: 214.6 kB / 0.7443 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.7396, allocations: 0.5794 MB / 0.7449 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.741, allocations: 417.4 kB / 0.7453 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.7421, allocations: 0.705 MB / 0.746 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004783/0.7426, allocations: 275 kB / 0.7463 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.7438, allocations: 0.5137 MB / 0.7468 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.7442, allocations: 219 kB / 0.747 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.7442, allocations: 20 kB / 0.747 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.7456, allocations: 0.6899 MB / 0.7477 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.7458, allocations: 111.7 kB / 0.7478 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.746, allocations: 155.2 kB / 0.7479 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.747, allocations: 0.5609 MB / 0.7485 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.747, allocations: 0 / 0.7485 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.747, allocations: 3.938 kB / 0.7485 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.7471, allocations: 0 / 0.7485 GB, free: 1.738 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.001035/0.7481, allocations: 0.6427 MB / 0.7491 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.7481, allocations: 8.031 kB / 0.7491 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.7485, allocations: 71.48 kB / 0.7492 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.749, allocations: 298.2 kB / 0.7495 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.749, allocations: 16.44 kB / 0.7495 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.7491, allocations: 27.98 kB / 0.7495 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.7496, allocations: 308.5 kB / 0.7498 GB, free: 260 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.7496, allocations: 0 / 0.7498 GB, free: 260 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.7496, allocations: 8 kB / 0.7498 GB, free: 252 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.7497, allocations: 4 kB / 0.7498 GB, free: 248 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.7501, allocations: 183.5 kB / 0.75 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3456/1.096, allocations: 1.692 MB / 0.7516 GB, free: 172 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/1.096, allocations: 87.61 kB / 0.7517 GB, free: 172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/1.096, allocations: 79.17 kB / 0.7518 GB, free: 172 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/1.096, allocations: 183.8 kB / 0.752 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/1.097, allocations: 37.23 kB / 0.752 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/1.097, allocations: 0 / 0.752 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0008068/1.097, allocations: 230.2 kB / 0.7522 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/1.097, allocations: 54.5 kB / 0.7523 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/1.098, allocations: 328.5 kB / 0.7526 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/1.098, allocations: 30.98 kB / 0.7526 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/1.098, allocations: 195.9 kB / 0.7528 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/1.098, allocations: 38.02 kB / 0.7528 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.351e-05/1.098, allocations: 49.23 kB / 0.7529 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.25e-05/1.098, allocations: 338.6 kB / 0.7532 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/1.098, allocations: 60.2 kB / 0.7533 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/1.099, allocations: 203.4 kB / 0.7535 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/1.099, allocations: 234.5 kB / 0.7537 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.099, allocations: 0.9375 kB / 0.7537 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005513/1.1, allocations: 255.5 kB / 0.7539 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/1.1, allocations: 9.656 kB / 0.7539 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.1, allocations: 8.578 kB / 0.7539 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/1.1, allocations: 5.25 kB / 0.754 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/1.1, allocations: 46.78 kB / 0.754 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.1, allocations: 6.219 kB / 0.754 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/1.1, allocations: 39.59 kB / 0.754 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/1.1, allocations: 16.12 kB / 0.7541 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002544/1.101, allocations: 169.3 kB / 0.7542 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000262/1.101, allocations: 196.2 kB / 0.7544 GB, free: 170 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003641/1.101, allocations: 233.7 kB / 0.7546 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.095e-06/1.101, allocations: 5.344 kB / 0.7546 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005405/1.102, allocations: 249.1 kB / 0.7549 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.102, allocations: 7.547 kB / 0.7549 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.102, allocations: 5.125 kB / 0.7549 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/1.102, allocations: 9.609 kB / 0.7549 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/1.102, allocations: 45.59 kB / 0.7549 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/1.102, allocations: 5.703 kB / 0.7549 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/1.102, allocations: 29.41 kB / 0.755 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/1.102, allocations: 11.59 kB / 0.755 GB, free: 169.8 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.53e-05/1.102, allocations: 201.9 kB / 0.7552 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/1.103, allocations: 28.98 kB / 0.7552 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/1.103, allocations: 173.2 kB / 0.7554 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/1.103, allocations: 1.875 kB / 0.7554 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.103, allocations: 0.9688 kB / 0.7554 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/1.103, allocations: 3.594 kB / 0.7554 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/1.104, allocations: 0.6055 MB / 0.756 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.104, allocations: 5.812 kB / 0.756 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/1.104, allocations: 24.11 kB / 0.756 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.104, allocations: 2.312 kB / 0.756 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.104, allocations: 3 kB / 0.756 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/1.104, allocations: 8.406 kB / 0.756 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.104, allocations: 2.5 kB / 0.756 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/1.105, allocations: 309.3 kB / 0.7563 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/1.105, allocations: 110.7 kB / 0.7564 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/1.105, allocations: 4.516 kB / 0.7564 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/1.105, allocations: 15.16 kB / 0.7564 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/1.105, allocations: 12.94 kB / 0.7564 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/1.105, allocations: 5 kB / 0.7564 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002919/1.105, allocations: 227.8 kB / 0.7567 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.105, allocations: 0 / 0.7567 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006958/1.106, allocations: 136.7 kB / 0.7568 GB, free: 168.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.0004683/1.107, allocations: 174.3 kB / 0.757 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006752/1.107, allocations: 248.8 kB / 0.7572 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.107, allocations: 0.5312 kB / 0.7572 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/1.107, allocations: 62.34 kB / 0.7573 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008071/1.108, allocations: 133.5 kB / 0.7574 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009273/1.109, allocations: 0.5342 MB / 0.7579 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/1.109, allocations: 0.7736 MB / 0.7587 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/1.11, allocations: 34.69 kB / 0.7587 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/1.11, allocations: 1.531 kB / 0.7587 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.009549/1.119, allocations: 4.455 MB / 0.763 GB, free: 165.7 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)