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.001496/0.001496, allocations: 101.4 kB / 16.27 MB, free: 5.867 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.001476/0.001476, allocations: 183.5 kB / 17.19 MB, free: 5.52 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.849/0.849, allocations: 126.7 MB / 417.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 67.89 kB / 0.4957 GB, free: 2.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4266, allocations: 78.86 MB / 0.5728 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.2239/0.6505, allocations: 169.5 MB / 0.7382 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009911/0.6605, allocations: 7.304 MB / 0.7454 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/0.6612, allocations: 11.94 kB / 0.7454 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009205/0.6621, allocations: 210.6 kB / 0.7456 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.664, allocations: 0.5716 MB / 0.7461 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.6655, allocations: 431.7 kB / 0.7466 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.6666, allocations: 0.7011 MB / 0.7472 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004981/0.6671, allocations: 275 kB / 0.7475 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.6685, allocations: 0.5176 MB / 0.748 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.6688, allocations: 215 kB / 0.7482 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.6689, allocations: 20 kB / 0.7482 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.6703, allocations: 0.686 MB / 0.7489 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.6705, allocations: 107.7 kB / 0.749 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.6707, allocations: 167.1 kB / 0.7492 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009471/0.6716, allocations: 0.5531 MB / 0.7497 GB, free: 204 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6717, allocations: 0 / 0.7497 GB, free: 204 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6717, allocations: 4 kB / 0.7497 GB, free: 200 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.6717, allocations: 0 / 0.7497 GB, free: 200 kB / 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.3348/1.006, allocations: 0.6472 MB / 0.7503 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/1.007, allocations: 9.344 kB / 0.7503 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/1.007, allocations: 61.81 kB / 0.7504 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/1.007, allocations: 308.9 kB / 0.7507 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/1.007, allocations: 19.34 kB / 0.7507 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/1.007, allocations: 19.75 kB / 0.7507 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/1.008, allocations: 308.2 kB / 0.751 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.008, allocations: 0.875 kB / 0.751 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/1.008, allocations: 8.641 kB / 0.751 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/1.008, allocations: 5.844 kB / 0.751 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/1.009, allocations: 181.9 kB / 0.7512 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/1.01, allocations: 1.695 MB / 0.7529 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/1.01, allocations: 88.48 kB / 0.753 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/1.011, allocations: 79.66 kB / 0.753 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/1.011, allocations: 183.9 kB / 0.7532 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/1.011, allocations: 41.16 kB / 0.7533 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/1.011, allocations: 1.062 kB / 0.7533 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0007748/1.012, allocations: 216.8 kB / 0.7535 GB, free: 171 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/1.012, allocations: 54.38 kB / 0.7535 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/1.012, allocations: 327.8 kB / 0.7538 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/1.012, allocations: 31.45 kB / 0.7539 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/1.012, allocations: 195.5 kB / 0.754 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/1.012, allocations: 39.64 kB / 0.7541 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.165e-05/1.012, allocations: 52.95 kB / 0.7541 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/1.013, allocations: 340.2 kB / 0.7545 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/1.013, allocations: 59.33 kB / 0.7545 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/1.013, allocations: 206.9 kB / 0.7547 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/1.013, allocations: 231.9 kB / 0.7549 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.013, allocations: 6.469 kB / 0.7549 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005005/1.014, allocations: 257.2 kB / 0.7552 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.014, allocations: 9.969 kB / 0.7552 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.014, allocations: 3.969 kB / 0.7552 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/1.014, allocations: 4.688 kB / 0.7552 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/1.014, allocations: 46.47 kB / 0.7552 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.014, allocations: 5.938 kB / 0.7552 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/1.014, allocations: 36.91 kB / 0.7553 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/1.015, allocations: 14.34 kB / 0.7553 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002433/1.015, allocations: 174.1 kB / 0.7555 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002376/1.015, allocations: 195.1 kB / 0.7556 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003429/1.015, allocations: 230.2 kB / 0.7559 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/1.015, allocations: 2.281 kB / 0.7559 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004984/1.016, allocations: 257.4 kB / 0.7561 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/1.016, allocations: 6.625 kB / 0.7561 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.016, allocations: 4.312 kB / 0.7561 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/1.016, allocations: 6.172 kB / 0.7561 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/1.016, allocations: 46.3 kB / 0.7562 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.016, allocations: 6.922 kB / 0.7562 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/1.016, allocations: 25.94 kB / 0.7562 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/1.016, allocations: 12.95 kB / 0.7562 GB, free: 169 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.738e-05/1.017, allocations: 202.6 kB / 0.7564 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/1.017, allocations: 29.44 kB / 0.7564 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/1.017, allocations: 169.6 kB / 0.7566 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/1.017, allocations: 2.094 kB / 0.7566 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.017, allocations: 4.906 kB / 0.7566 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/1.017, allocations: 0.5156 kB / 0.7566 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/1.018, allocations: 0.6125 MB / 0.7572 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.018, allocations: 1.781 kB / 0.7572 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/1.018, allocations: 28.39 kB / 0.7572 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/1.018, allocations: 2.688 kB / 0.7572 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/1.018, allocations: 7.844 kB / 0.7572 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/1.018, allocations: 7.094 kB / 0.7573 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.018, allocations: 2.578 kB / 0.7573 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/1.019, allocations: 300.6 kB / 0.7575 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.404e-05/1.019, allocations: 118.3 kB / 0.7577 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/1.019, allocations: 3.562 kB / 0.7577 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/1.019, allocations: 19.44 kB / 0.7577 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/1.019, allocations: 11.47 kB / 0.7577 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/1.019, allocations: 5.172 kB / 0.7577 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000267/1.02, allocations: 226.7 kB / 0.7579 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.02, allocations: 0 / 0.7579 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006695/1.02, allocations: 131.5 kB / 0.758 GB, free: 167.8 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.0004449/1.021, allocations: 164.5 kB / 0.7582 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007042/1.021, allocations: 250.7 kB / 0.7584 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.021, allocations: 0 / 0.7584 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/1.022, allocations: 64.02 kB / 0.7585 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008463/1.022, allocations: 136.5 kB / 0.7586 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/1.023, allocations: 0.5028 MB / 0.7591 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/1.024, allocations: 0.7793 MB / 0.7599 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003109/1.024, allocations: 82.36 kB / 0.76 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/1.024, allocations: 27.53 kB / 0.76 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/1.024, allocations: 0.5312 kB / 0.76 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.009566/1.034, allocations: 4.873 MB / 0.7647 GB, free: 164.3 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)