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.001985/0.001985, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.544/1.544, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4891/0.4891, allocations: 54.94 MB / 324.7 MB, free: 15.96 MB / 270.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.001643/0.001643, allocations: 63.91 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1309, allocations: 59.59 MB / 454.9 MB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.2315/0.3624, allocations: 1.267 MB / 456.2 MB, free: 39.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1824/0.5449, allocations: 147.6 MB / 0.5897 GB, free: 2.531 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.281e-05/0.545, allocations: 0 / 0.5897 GB, free: 2.531 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.5451, allocations: 3.938 kB / 0.5897 GB, free: 2.527 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.351e-05/0.5451, allocations: 3.938 kB / 0.5897 GB, free: 2.523 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.5457, allocations: 115.5 kB / 0.5898 GB, free: 2.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.5458, allocations: 19.88 kB / 0.5898 GB, free: 2.391 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.5458, allocations: 3.984 kB / 0.5898 GB, free: 2.387 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.5459, allocations: 11.94 kB / 0.5898 GB, free: 2.375 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.5459, allocations: 7.984 kB / 0.5898 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.5459, allocations: 0 / 0.5898 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.5464, allocations: 175.7 kB / 0.59 GB, free: 2.195 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.5464, allocations: 3.938 kB / 0.59 GB, free: 2.191 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.5465, allocations: 4 kB / 0.59 GB, free: 2.188 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.5467, allocations: 121.7 kB / 0.5901 GB, free: 2.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5468, allocations: 0 / 0.5901 GB, free: 2.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5468, allocations: 0 / 0.5901 GB, free: 2.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.5468, allocations: 0 / 0.5901 GB, free: 2.07 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.000435/0.5472, allocations: 343.5 kB / 0.5905 GB, free: 1.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5473, allocations: 8.031 kB / 0.5905 GB, free: 1.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006076/0.5479, allocations: 44 kB / 0.5905 GB, free: 1.641 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.548, allocations: 168.4 kB / 0.5907 GB, free: 1.438 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.548, allocations: 4 kB / 0.5907 GB, free: 1.434 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.5481, allocations: 0 / 0.5907 GB, free: 1.434 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.5483, allocations: 49.66 kB / 0.5907 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5483, allocations: 0 / 0.5907 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.5483, allocations: 11.92 kB / 0.5907 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5483, allocations: 0.6562 kB / 0.5907 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.5484, allocations: 19.92 kB / 0.5907 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.5489, allocations: 254.1 kB / 0.591 GB, free: 1.051 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/0.549, allocations: 26.58 kB / 0.591 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.549, allocations: 8.922 kB / 0.591 GB, free: 1.004 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.549, allocations: 0 / 0.591 GB, free: 1.004 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.549, allocations: 34.56 kB / 0.5911 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.549, allocations: 0.9375 kB / 0.5911 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001732/0.5492, allocations: 49.62 kB / 0.5911 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5493, allocations: 59.34 kB / 0.5912 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.5494, allocations: 107.1 kB / 0.5913 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.5494, allocations: 25.7 kB / 0.5913 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.5495, allocations: 84.7 kB / 0.5914 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.034e-06/0.5495, allocations: 7.906 kB / 0.5914 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.5495, allocations: 21.7 kB / 0.5914 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.5497, allocations: 319 kB / 0.5917 GB, free: 256 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.5497, allocations: 8 kB / 0.5917 GB, free: 248 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.5498, allocations: 10.33 kB / 0.5917 GB, free: 240 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.917e-05/0.5499, allocations: 28.78 kB / 0.5917 GB, free: 208 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5499, allocations: 0 / 0.5917 GB, free: 208 kB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002161/0.5501, allocations: 61.58 kB / 0.5918 GB, free: 140 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5501, allocations: 4 kB / 0.5918 GB, free: 136 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5502, allocations: 4.766 kB / 0.5918 GB, free: 132 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5502, allocations: 4 kB / 0.5918 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.5503, allocations: 4.875 kB / 0.5918 GB, free: 124 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.5503, allocations: 3.938 kB / 0.5918 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.5505, allocations: 15.98 kB / 0.5918 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.5505, allocations: 0 / 0.5918 GB, free: 104 kB / 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.399e-05/0.5506, allocations: 113.8 kB / 0.592 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.5506, allocations: 4 kB / 0.592 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.5506, allocations: 3.125 kB / 0.592 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.5506, allocations: 0 / 0.592 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5507, allocations: 3.938 kB / 0.592 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.5507, allocations: 0 / 0.592 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.5509, allocations: 154.7 kB / 0.5921 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5509, allocations: 7.875 kB / 0.5921 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.5509, allocations: 4 kB / 0.5921 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5509, allocations: 4 kB / 0.5921 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.5509, allocations: 0 / 0.5921 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5509, allocations: 0 / 0.5921 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5509, allocations: 4.75 kB / 0.5921 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.5511, allocations: 135.9 kB / 0.5923 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.5512, allocations: 82.61 kB / 0.5923 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.5512, allocations: 4 kB / 0.5923 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.5513, allocations: 12.02 kB / 0.5924 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.5514, allocations: 7.922 kB / 0.5924 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.5514, allocations: 0 / 0.5924 GB, free: 15.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.941e-05/0.5515, allocations: 91.27 kB / 0.5924 GB, free: 15.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5515, allocations: 0 / 0.5924 GB, free: 15.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.5517, allocations: 16 kB / 0.5925 GB, free: 15.38 MB / 478.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.0001671/0.5519, allocations: 111.2 kB / 0.5926 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.5521, allocations: 19.98 kB / 0.5926 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5521, allocations: 0 / 0.5926 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.356e-05/0.5522, allocations: 8 kB / 0.5926 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.5525, allocations: 10.02 kB / 0.5926 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.5529, allocations: 125.8 kB / 0.5927 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.5532, allocations: 0.678 MB / 0.5934 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.987e-05/0.5532, allocations: 8.844 kB / 0.5934 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.5533, allocations: 11.44 kB / 0.5934 GB, free: 14.37 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5533, allocations: 0 / 0.5934 GB, free: 14.37 MB / 478.1 MB Notification: Performance of Templates: time 0.00341/0.5567, allocations: 0.7267 MB / 0.5941 GB, free: 13.66 MB / 478.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)