Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001376/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001971/0.001971, allocations: 192.1 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4224/0.4224, allocations: 54.93 MB / 324.3 MB, free: 128 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 68.38 kB / 394.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1403, allocations: 59.58 MB / 454.3 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.2993/0.4397, allocations: 1.457 MB / 455.7 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005377/0.4403, allocations: 207.5 kB / 455.9 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.4404, allocations: 0 / 455.9 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.389e-05/0.4405, allocations: 0 / 455.9 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/0.4405, allocations: 10.83 kB / 456 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.4408, allocations: 18.2 kB / 456 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.4409, allocations: 22.61 kB / 456 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.441, allocations: 10.52 kB / 456 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.441, allocations: 12.52 kB / 456 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.4411, allocations: 6.938 kB / 456 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.4411, allocations: 2.969 kB / 456 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.4412, allocations: 30.98 kB / 456.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.4412, allocations: 1.812 kB / 456.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.4413, allocations: 9.734 kB / 456.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.4414, allocations: 38.42 kB / 456.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4414, allocations: 1.188 kB / 456.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4414, allocations: 0 / 456.1 MB, free: 38.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.4414, allocations: 0 / 456.1 MB, free: 38.91 MB / 382.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.0004392/0.4419, allocations: 340.4 kB / 456.4 MB, free: 38.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.4419, allocations: 15.91 kB / 456.5 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.4421, allocations: 7.438 kB / 456.5 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.4422, allocations: 164.3 kB / 456.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4422, allocations: 6.594 kB / 456.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.4422, allocations: 384 / 456.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.4424, allocations: 49.55 kB / 456.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4424, allocations: 192 / 456.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.4425, allocations: 6.75 kB / 456.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4425, allocations: 1.938 kB / 456.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.4427, allocations: 35.78 kB / 456.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.4431, allocations: 246.4 kB / 457 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.4432, allocations: 47.03 kB / 457 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.69e-05/0.4433, allocations: 22.97 kB / 457 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.4434, allocations: 2.906 kB / 457 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.4434, allocations: 32.19 kB / 457.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 3.206e-06/0.4434, allocations: 0 / 457.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003868/0.4438, allocations: 84.95 kB / 457.1 MB, free: 37.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.4439, allocations: 53.56 kB / 457.2 MB, free: 37.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.4439, allocations: 97.75 kB / 457.3 MB, free: 37.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.444, allocations: 28.27 kB / 457.3 MB, free: 37.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.444, allocations: 86.02 kB / 457.4 MB, free: 37.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.4441, allocations: 10.55 kB / 457.4 MB, free: 37.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.4441, allocations: 17.34 kB / 457.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.4442, allocations: 316 kB / 457.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.4443, allocations: 16.52 kB / 457.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.4444, allocations: 18.78 kB / 457.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.4445, allocations: 34.92 kB / 457.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4445, allocations: 2.531 kB / 457.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001766/0.4447, allocations: 79.92 kB / 457.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4447, allocations: 6.031 kB / 457.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4447, allocations: 0 / 457.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4448, allocations: 5.422 kB / 457.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.4449, allocations: 5.25 kB / 457.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4449, allocations: 0.625 kB / 457.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.4449, allocations: 9.312 kB / 457.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.4449, allocations: 0.7188 kB / 457.9 MB, free: 37.3 MB / 382.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 5.571e-05/0.445, allocations: 113.8 kB / 458 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.445, allocations: 6.062 kB / 458 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.4453, allocations: 83.12 kB / 458.1 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4453, allocations: 3.375 kB / 458.1 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4453, allocations: 0 / 458.1 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4453, allocations: 2.031 kB / 458.1 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.4454, allocations: 161.3 kB / 458.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4454, allocations: 0 / 458.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.4455, allocations: 12.27 kB / 458.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4455, allocations: 0 / 458.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.4455, allocations: 0.8125 kB / 458.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4455, allocations: 2.438 kB / 458.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4455, allocations: 0 / 458.3 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.4457, allocations: 174.9 kB / 458.5 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.4458, allocations: 84.77 kB / 458.5 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4458, allocations: 1.625 kB / 458.5 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.4459, allocations: 9.984 kB / 458.6 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.4459, allocations: 3.719 kB / 458.6 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.4459, allocations: 0 / 458.6 MB, free: 36.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.578e-05/0.4459, allocations: 85.14 kB / 458.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.446, allocations: 0 / 458.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.4462, allocations: 3.594 kB / 458.6 MB, free: 36.64 MB / 382.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.804e-05/0.4463, allocations: 103.3 kB / 458.7 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.4465, allocations: 39.05 kB / 458.8 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4465, allocations: 0 / 458.8 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/0.4466, allocations: 20.78 kB / 458.8 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.4469, allocations: 15 kB / 458.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.4472, allocations: 128.2 kB / 458.9 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.4474, allocations: 0.6784 MB / 459.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.634e-05/0.4474, allocations: 1.281 kB / 459.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.4475, allocations: 10.59 kB / 459.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4475, allocations: 288 / 459.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of Templates: time 0.002647/0.4501, allocations: 435 kB / 460.1 MB, free: 35.72 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)