Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, 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.00146/0.00146, allocations: 191 kB / 16.25 MB, free: 6.625 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.436/1.436, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4142/0.4142, allocations: 54.92 MB / 324.4 MB, free: 84 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.001415/0.001415, allocations: 67.91 kB / 394.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1335, allocations: 59.58 MB / 454.5 MB, free: 396 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.2377/0.3713, allocations: 1.342 MB / 455.8 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1873/0.5586, allocations: 145.5 MB / 0.5872 GB, free: 4.918 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.5587, allocations: 0 / 0.5872 GB, free: 4.918 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.5588, allocations: 0.5625 kB / 0.5872 GB, free: 4.918 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.715e-05/0.5589, allocations: 11.92 kB / 0.5872 GB, free: 4.906 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.5593, allocations: 104.5 kB / 0.5873 GB, free: 4.809 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.5594, allocations: 23.88 kB / 0.5874 GB, free: 4.785 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.5595, allocations: 3.984 kB / 0.5874 GB, free: 4.781 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.5595, allocations: 7.938 kB / 0.5874 GB, free: 4.773 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.906e-05/0.5596, allocations: 4.562 kB / 0.5874 GB, free: 4.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.5596, allocations: 0 / 0.5874 GB, free: 4.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.56, allocations: 179.6 kB / 0.5875 GB, free: 4.594 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.56, allocations: 4 kB / 0.5875 GB, free: 4.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.5601, allocations: 7.938 kB / 0.5875 GB, free: 4.582 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.5603, allocations: 117.7 kB / 0.5877 GB, free: 4.469 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5603, allocations: 0.75 kB / 0.5877 GB, free: 4.469 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5603, allocations: 0 / 0.5877 GB, free: 4.469 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.5603, allocations: 0 / 0.5877 GB, free: 4.469 MB / 462.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.0003829/0.5607, allocations: 351.5 kB / 0.588 GB, free: 4.078 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5608, allocations: 8.031 kB / 0.588 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006339/0.5614, allocations: 44.02 kB / 0.588 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.5616, allocations: 167.7 kB / 0.5882 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5616, allocations: 4 kB / 0.5882 GB, free: 3.824 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.5616, allocations: 0.5625 kB / 0.5882 GB, free: 3.824 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.5618, allocations: 45.66 kB / 0.5883 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.5618, allocations: 0 / 0.5883 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.5618, allocations: 4 kB / 0.5883 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5618, allocations: 0 / 0.5883 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.562, allocations: 23.97 kB / 0.5883 GB, free: 3.746 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.5624, allocations: 253.8 kB / 0.5885 GB, free: 3.449 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.828e-05/0.5625, allocations: 26.52 kB / 0.5885 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.5625, allocations: 8.922 kB / 0.5886 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.5625, allocations: 4 kB / 0.5886 GB, free: 3.398 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.5625, allocations: 34.56 kB / 0.5886 GB, free: 3.355 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 3.807e-06/0.5625, allocations: 3.984 kB / 0.5886 GB, free: 3.352 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001596/0.5627, allocations: 41.69 kB / 0.5886 GB, free: 3.305 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.5627, allocations: 59.28 kB / 0.5887 GB, free: 3.234 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.5629, allocations: 111.1 kB / 0.5888 GB, free: 3.117 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.5629, allocations: 29.7 kB / 0.5888 GB, free: 3.082 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.563, allocations: 89.77 kB / 0.5889 GB, free: 2.992 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.563, allocations: 7.891 kB / 0.5889 GB, free: 2.984 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.563, allocations: 17.7 kB / 0.5889 GB, free: 2.961 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5632, allocations: 318.8 kB / 0.5892 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.5632, allocations: 7.984 kB / 0.5893 GB, free: 2.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/0.5633, allocations: 11.98 kB / 0.5893 GB, free: 2.621 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.475e-05/0.5634, allocations: 20.86 kB / 0.5893 GB, free: 2.598 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5634, allocations: 0 / 0.5893 GB, free: 2.598 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001891/0.5636, allocations: 69.5 kB / 0.5893 GB, free: 2.523 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.5636, allocations: 4 kB / 0.5894 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5636, allocations: 2.062 kB / 0.5894 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.5636, allocations: 0 / 0.5894 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5637, allocations: 11.98 kB / 0.5894 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5638, allocations: 8.484 kB / 0.5894 GB, free: 2.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.5639, allocations: 4 kB / 0.5894 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.5639, allocations: 3.984 kB / 0.5894 GB, free: 2.492 MB / 462.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 (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 prepare postOptimizeDAE: time 8.339e-05/0.564, allocations: 113.8 kB / 0.5895 GB, free: 2.371 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.5641, allocations: 0 / 0.5895 GB, free: 2.371 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.5641, allocations: 3.125 kB / 0.5895 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.5641, allocations: 0 / 0.5895 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.5641, allocations: 7.938 kB / 0.5895 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5641, allocations: 4 kB / 0.5895 GB, free: 2.355 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.5643, allocations: 154.3 kB / 0.5897 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5643, allocations: 0 / 0.5897 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.5643, allocations: 3.984 kB / 0.5897 GB, free: 2.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.5644, allocations: 4 kB / 0.5897 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.5644, allocations: 4.562 kB / 0.5897 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5644, allocations: 0 / 0.5897 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5644, allocations: 3.938 kB / 0.5897 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.5645, allocations: 135.5 kB / 0.5898 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.5646, allocations: 89 kB / 0.5899 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.5646, allocations: 0.5 kB / 0.5899 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.5647, allocations: 0.9375 kB / 0.5899 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.5648, allocations: 3.938 kB / 0.5899 GB, free: 1.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.5648, allocations: 5 kB / 0.5899 GB, free: 1.879 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.345e-05/0.5649, allocations: 91.27 kB / 0.59 GB, free: 1.789 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5649, allocations: 0 / 0.59 GB, free: 1.789 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000282/0.5652, allocations: 16.03 kB / 0.59 GB, free: 1.773 MB / 462.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 (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 Backend phase and start with SimCode phase: time 0.0002095/0.5654, allocations: 115.2 kB / 0.5901 GB, free: 1.652 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.5655, allocations: 20.39 kB / 0.5901 GB, free: 1.633 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5656, allocations: 0 / 0.5901 GB, free: 1.633 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.365e-05/0.5656, allocations: 7.984 kB / 0.5901 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.566, allocations: 14.28 kB / 0.5901 GB, free: 1.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.5664, allocations: 121.8 kB / 0.5903 GB, free: 1.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.5667, allocations: 0.6729 MB / 0.5909 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.599e-05/0.5668, allocations: 12.83 kB / 0.5909 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.5668, allocations: 11.44 kB / 0.5909 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5668, allocations: 0 / 0.5909 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of Templates: time 0.003116/0.5699, allocations: 0.7341 MB / 0.5917 GB, free: 56 kB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)