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.001111/0.001111, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009977/0.0009977, allocations: 194 kB / 16.25 MB, free: 6.629 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.561/1.561, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4468/0.4468, allocations: 54.93 MB / 324.4 MB, free: 80 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.001394/0.001394, allocations: 68.47 kB / 394.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.154, allocations: 59.58 MB / 454.5 MB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.2706/0.4247, allocations: 1.458 MB / 456 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006517/0.4255, allocations: 205.6 kB / 456.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.4256, allocations: 0 / 456.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.239e-05/0.4257, allocations: 3.281 kB / 456.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.235e-05/0.4258, allocations: 0 / 456.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.4261, allocations: 26.16 kB / 456.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.4263, allocations: 22.73 kB / 456.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.4264, allocations: 8.797 kB / 456.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.4265, allocations: 12.81 kB / 456.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.4266, allocations: 15.25 kB / 456.2 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.4266, allocations: 2.625 kB / 456.2 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.4267, allocations: 22.23 kB / 456.3 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.4268, allocations: 10.12 kB / 456.3 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.4268, allocations: 8.828 kB / 456.3 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.427, allocations: 34.56 kB / 456.3 MB, free: 38.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.427, allocations: 2.875 kB / 456.3 MB, free: 38.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.427, allocations: 0 / 456.3 MB, free: 38.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.427, allocations: 2.25 kB / 456.3 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.0005808/0.4276, allocations: 346.3 kB / 456.7 MB, free: 38.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.4277, allocations: 9.094 kB / 456.7 MB, free: 38.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.4279, allocations: 7.531 kB / 456.7 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.428, allocations: 164.7 kB / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4281, allocations: 7.062 kB / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.4281, allocations: 384 / 456.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.4283, allocations: 50.94 kB / 456.9 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4283, allocations: 0.8438 kB / 456.9 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.4283, allocations: 4.438 kB / 456.9 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4284, allocations: 2.781 kB / 456.9 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.4285, allocations: 34.81 kB / 456.9 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.429, allocations: 247.1 kB / 457.2 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.4291, allocations: 46.92 kB / 457.2 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.048e-05/0.4292, allocations: 22.52 kB / 457.2 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.4293, allocations: 4.125 kB / 457.3 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.4293, allocations: 37.59 kB / 457.3 MB, free: 37.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4293, allocations: 0 / 457.3 MB, free: 37.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003463/0.4297, allocations: 77.45 kB / 457.4 MB, free: 37.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.4297, allocations: 52.34 kB / 457.4 MB, free: 37.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.4298, allocations: 101.1 kB / 457.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.4298, allocations: 30.33 kB / 457.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.4298, allocations: 82.23 kB / 457.6 MB, free: 37.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.4299, allocations: 15.14 kB / 457.6 MB, free: 37.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.4299, allocations: 10.25 kB / 457.6 MB, free: 37.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.43, allocations: 317.8 kB / 458 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.4301, allocations: 20.16 kB / 458 MB, free: 37.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.4301, allocations: 13.78 kB / 458 MB, free: 37.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.4303, allocations: 40.12 kB / 458 MB, free: 37.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4303, allocations: 0 / 458 MB, free: 37.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001619/0.4304, allocations: 74.08 kB / 458.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4305, allocations: 9.219 kB / 458.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.4305, allocations: 0.625 kB / 458.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4305, allocations: 0 / 458.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.4306, allocations: 18.8 kB / 458.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4306, allocations: 0 / 458.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.4307, allocations: 3.5 kB / 458.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4307, allocations: 2.438 kB / 458.1 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.557e-05/0.4307, allocations: 113.6 kB / 458.2 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.4308, allocations: 5.094 kB / 458.3 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.431, allocations: 82.92 kB / 458.3 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.431, allocations: 1.125 kB / 458.3 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.431, allocations: 0.9062 kB / 458.3 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.431, allocations: 0 / 458.3 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.4311, allocations: 165.8 kB / 458.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4311, allocations: 1.406 kB / 458.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.4312, allocations: 13.27 kB / 458.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4312, allocations: 0 / 458.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.4312, allocations: 3.844 kB / 458.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4312, allocations: 1.047 kB / 458.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4312, allocations: 0 / 458.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.4315, allocations: 168.3 kB / 458.7 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.4315, allocations: 81.02 kB / 458.8 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.4315, allocations: 8.812 kB / 458.8 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.4316, allocations: 4.281 kB / 458.8 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.4316, allocations: 3.516 kB / 458.8 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.4317, allocations: 6.594 kB / 458.8 MB, free: 36.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.032e-05/0.4317, allocations: 79.36 kB / 458.9 MB, free: 36.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4317, allocations: 1.125 kB / 458.9 MB, free: 36.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.4319, allocations: 6.5 kB / 458.9 MB, free: 36.65 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 9.317e-05/0.432, allocations: 98.97 kB / 459 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.4322, allocations: 43.41 kB / 459 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4322, allocations: 0 / 459 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.4323, allocations: 20.06 kB / 459 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.0002774/0.4326, allocations: 11.56 kB / 459 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.4331, allocations: 130.7 kB / 459.2 MB, free: 36.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.4333, allocations: 0.676 MB / 459.8 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.743e-05/0.4333, allocations: 4.969 kB / 459.8 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.4334, allocations: 7.438 kB / 459.9 MB, free: 35.76 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4334, allocations: 2.625 kB / 459.9 MB, free: 35.76 MB / 382.1 MB Notification: Performance of Templates: time 0.00286/0.4363, allocations: 454.9 kB / 460.3 MB, free: 35.74 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)