Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007352/0.0007354, allocations: 90.2 kB / 16.67 MB, free: 6.23 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.0009154/0.0009154, allocations: 182.9 kB / 17.58 MB, free: 5.863 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.277/1.277, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7033/0.7033, allocations: 115.5 MB / 408.2 MB, free: 7 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3337, allocations: 77.51 MB / 0.5606 GB, free: 36.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001268/0.335, allocations: 1.129 MB / 0.5617 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004174/0.3355, allocations: 195.4 kB / 0.5619 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.3355, allocations: 0 / 0.5619 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.3355, allocations: 3.938 kB / 0.5619 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.3356, allocations: 5.734 kB / 0.5619 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.3358, allocations: 22.05 kB / 0.5619 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.516e-05/0.3358, allocations: 21.08 kB / 0.5619 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.3359, allocations: 9.547 kB / 0.5619 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.336, allocations: 4.078 kB / 0.5619 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.024e-05/0.336, allocations: 15.34 kB / 0.5619 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.336, allocations: 1.406 kB / 0.5619 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.3361, allocations: 28.05 kB / 0.562 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.3361, allocations: 6.594 kB / 0.562 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.3362, allocations: 33.77 kB / 0.562 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.331e-05/0.3363, allocations: 24.03 kB / 0.562 GB, free: 35.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3363, allocations: 1.562 kB / 0.562 GB, free: 35.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3363, allocations: 0 / 0.562 GB, free: 35.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.3363, allocations: 1.438 kB / 0.562 GB, free: 35.13 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003644/0.3367, allocations: 337.9 kB / 0.5624 GB, free: 34.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3367, allocations: 14.5 kB / 0.5624 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.3368, allocations: 12.84 kB / 0.5624 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.17e-05/0.3369, allocations: 166.5 kB / 0.5625 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3369, allocations: 2.797 kB / 0.5625 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3369, allocations: 1.781 kB / 0.5625 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3371, allocations: 54.58 kB / 0.5626 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3371, allocations: 2.406 kB / 0.5626 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3371, allocations: 3.938 kB / 0.5626 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3371, allocations: 6.609 kB / 0.5626 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.3373, allocations: 44.94 kB / 0.5627 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.3376, allocations: 249.6 kB / 0.5629 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3378, allocations: 54.58 kB / 0.5629 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.446e-05/0.3379, allocations: 30.31 kB / 0.563 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3379, allocations: 0 / 0.563 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.3379, allocations: 36.84 kB / 0.563 GB, free: 34.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3379, allocations: 0.75 kB / 0.563 GB, free: 34.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003616/0.3383, allocations: 94.22 kB / 0.5631 GB, free: 34.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.3383, allocations: 56.81 kB / 0.5631 GB, free: 34.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.654e-05/0.3384, allocations: 105.3 kB / 0.5633 GB, free: 33.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.3384, allocations: 27.78 kB / 0.5633 GB, free: 33.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.3384, allocations: 85.52 kB / 0.5634 GB, free: 33.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.3384, allocations: 9.031 kB / 0.5634 GB, free: 33.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.3385, allocations: 12.78 kB / 0.5634 GB, free: 33.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.3385, allocations: 312.5 kB / 0.5637 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.3386, allocations: 25.42 kB / 0.5637 GB, free: 33.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.082e-05/0.3387, allocations: 20.3 kB / 0.5637 GB, free: 33.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.3389, allocations: 49.2 kB / 0.5638 GB, free: 33.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3389, allocations: 0.5938 kB / 0.5638 GB, free: 33.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.3391, allocations: 91.81 kB / 0.5639 GB, free: 33.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3391, allocations: 5.344 kB / 0.5639 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3391, allocations: 1.797 kB / 0.5639 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3392, allocations: 0 / 0.5639 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.3392, allocations: 12.48 kB / 0.5639 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3393, allocations: 1.156 kB / 0.5639 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.3393, allocations: 13.69 kB / 0.5639 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.3393, allocations: 2.062 kB / 0.5639 GB, free: 33.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 4.733e-05/0.3394, allocations: 113.8 kB / 0.564 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.3394, allocations: 1.531 kB / 0.564 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.3397, allocations: 87.66 kB / 0.5641 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3397, allocations: 1.859 kB / 0.5641 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.3397, allocations: 0 / 0.5641 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.3397, allocations: 2.078 kB / 0.5641 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.3398, allocations: 160.3 kB / 0.5642 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3398, allocations: 4.531 kB / 0.5642 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.3399, allocations: 17.88 kB / 0.5643 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3399, allocations: 1.375 kB / 0.5643 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3399, allocations: 1.188 kB / 0.5643 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3399, allocations: 3.938 kB / 0.5643 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3399, allocations: 2.031 kB / 0.5643 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.3402, allocations: 179.3 kB / 0.5644 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.3402, allocations: 82.42 kB / 0.5645 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3402, allocations: 1.75 kB / 0.5645 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.3403, allocations: 10.73 kB / 0.5645 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3404, allocations: 3.156 kB / 0.5645 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3404, allocations: 0.5 kB / 0.5645 GB, free: 32.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.161e-05/0.3404, allocations: 86.27 kB / 0.5646 GB, free: 32.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3404, allocations: 1.219 kB / 0.5646 GB, free: 32.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.3406, allocations: 3.938 kB / 0.5646 GB, free: 32.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 8.03e-05/0.3407, allocations: 100.9 kB / 0.5647 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.3409, allocations: 48.25 kB / 0.5648 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3409, allocations: 1.156 kB / 0.5648 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.504e-05/0.341, allocations: 29.09 kB / 0.5648 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.3413, allocations: 10.59 kB / 0.5648 GB, free: 32.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.3416, allocations: 162.9 kB / 0.565 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.685e-05/0.3417, allocations: 0.6776 MB / 0.5656 GB, free: 31.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.3417, allocations: 10 kB / 0.5656 GB, free: 31.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3417, allocations: 0 / 0.5656 GB, free: 31.77 MB / 446.1 MB Notification: Performance of Templates: time 0.001798/0.3435, allocations: 0.5744 MB / 0.5662 GB, free: 31.76 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)