Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00536/0.00536, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.001132/0.001132, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.535/1.535, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.436/0.436, allocations: 54.94 MB / 324.9 MB, free: 44 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.001395/0.001395, allocations: 67.89 kB / 456.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1317, allocations: 59.59 MB / 0.5038 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002034/0.1338, allocations: 1.247 MB / 0.505 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.1348, allocations: 0.6843 MB / 0.5057 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.1348, allocations: 0 / 0.5057 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.1349, allocations: 7.938 kB / 0.5057 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-05/0.1349, allocations: 5.109 kB / 0.5057 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.1354, allocations: 102.7 kB / 0.5058 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.1354, allocations: 21.86 kB / 0.5058 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.1355, allocations: 9.203 kB / 0.5058 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.1355, allocations: 13.48 kB / 0.5059 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.1356, allocations: 4.188 kB / 0.5059 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1356, allocations: 0 / 0.5059 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.1359, allocations: 160.3 kB / 0.506 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.136, allocations: 9.484 kB / 0.506 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.136, allocations: 2.344 kB / 0.506 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.1362, allocations: 105.2 kB / 0.5061 GB, free: 8.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1362, allocations: 0 / 0.5061 GB, free: 8.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1362, allocations: 0 / 0.5061 GB, free: 8.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1362, allocations: 0 / 0.5061 GB, free: 8.125 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.0003842/0.1366, allocations: 360.6 kB / 0.5065 GB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1367, allocations: 9.688 kB / 0.5065 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.1367, allocations: 6.438 kB / 0.5065 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.038e-05/0.1368, allocations: 169.5 kB / 0.5067 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.1369, allocations: 29.02 kB / 0.5067 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1369, allocations: 1.719 kB / 0.5067 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.137, allocations: 43.06 kB / 0.5067 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.137, allocations: 0 / 0.5067 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.137, allocations: 5.312 kB / 0.5067 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.137, allocations: 0 / 0.5067 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/0.1371, allocations: 16.17 kB / 0.5067 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.1373, allocations: 156.4 kB / 0.5069 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.441e-05/0.1374, allocations: 32.23 kB / 0.5069 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.1374, allocations: 14.36 kB / 0.5069 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.1376, allocations: 93.38 kB / 0.507 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1376, allocations: 39.94 kB / 0.5071 GB, free: 7.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1376, allocations: 0 / 0.5071 GB, free: 7.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002173/0.1378, allocations: 59.48 kB / 0.5071 GB, free: 7.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.1379, allocations: 51.41 kB / 0.5072 GB, free: 6.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.384e-05/0.1379, allocations: 110.1 kB / 0.5073 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.1379, allocations: 25.7 kB / 0.5073 GB, free: 6.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.3e-05/0.138, allocations: 84.12 kB / 0.5074 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.138, allocations: 5.328 kB / 0.5074 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.138, allocations: 21.84 kB / 0.5074 GB, free: 6.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.1381, allocations: 310.8 kB / 0.5077 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.264e-05/0.1381, allocations: 8.109 kB / 0.5077 GB, free: 6.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.1382, allocations: 9.5 kB / 0.5077 GB, free: 6.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.222e-05/0.1383, allocations: 22.47 kB / 0.5077 GB, free: 6.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1383, allocations: 0 / 0.5077 GB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001062/0.1384, allocations: 60.64 kB / 0.5078 GB, free: 6.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1384, allocations: 8.125 kB / 0.5078 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1384, allocations: 5.359 kB / 0.5078 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1384, allocations: 0 / 0.5078 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.1385, allocations: 5.5 kB / 0.5078 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1385, allocations: 0 / 0.5078 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.1385, allocations: 1.375 kB / 0.5078 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1385, allocations: 1.375 kB / 0.5078 GB, free: 6.297 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 (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 3.934e-05/0.1386, allocations: 107.2 kB / 0.5079 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.1386, allocations: 5.312 kB / 0.5079 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.1388, allocations: 66.86 kB / 0.508 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1388, allocations: 0 / 0.508 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1388, allocations: 1.375 kB / 0.508 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1388, allocations: 0 / 0.508 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.698e-05/0.1388, allocations: 153.8 kB / 0.5081 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1389, allocations: 7.875 kB / 0.5081 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.1389, allocations: 9.484 kB / 0.5082 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1389, allocations: 0 / 0.5082 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1389, allocations: 1.375 kB / 0.5082 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1389, allocations: 4 kB / 0.5082 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1389, allocations: 0 / 0.5082 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.139, allocations: 68.25 kB / 0.5082 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.1391, allocations: 94.3 kB / 0.5083 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1391, allocations: 5.312 kB / 0.5083 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.632e-05/0.1391, allocations: 5.375 kB / 0.5083 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1392, allocations: 1.375 kB / 0.5083 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1392, allocations: 5.375 kB / 0.5083 GB, free: 5.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.876e-05/0.1392, allocations: 86.44 kB / 0.5084 GB, free: 5.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1392, allocations: 0 / 0.5084 GB, free: 5.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.1394, allocations: 23.19 kB / 0.5084 GB, free: 5.629 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 0.0001752/0.1396, allocations: 131.9 kB / 0.5086 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1397, allocations: 17.98 kB / 0.5086 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1398, allocations: 3.938 kB / 0.5086 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.1398, allocations: 19.23 kB / 0.5086 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.14, allocations: 14.7 kB / 0.5086 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.1403, allocations: 123.8 kB / 0.5087 GB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.951e-05/0.1404, allocations: 0.672 MB / 0.5094 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.22e-05/0.1404, allocations: 14.47 kB / 0.5094 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.1404, allocations: 8.75 kB / 0.5094 GB, free: 4.648 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1404, allocations: 1.219 kB / 0.5094 GB, free: 4.648 MB / 382.1 MB Notification: Performance of Templates: time 0.002811/0.1433, allocations: 0.8891 MB / 0.5103 GB, free: 3.918 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)