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.005494/0.005494, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001146/0.001146, allocations: 199.3 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.52/1.52, allocations: 205.1 MB / 222.6 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4187/0.4187, allocations: 54.94 MB / 324.8 MB, free: 76 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.001552/0.001552, allocations: 73.34 kB / 456.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1297, allocations: 59.59 MB / 0.5038 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002129/0.1319, allocations: 1.238 MB / 0.505 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009488/0.1329, allocations: 0.6951 MB / 0.5057 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.1329, allocations: 0 / 0.5057 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.1329, allocations: 4 kB / 0.5057 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.574e-05/0.133, allocations: 5.312 kB / 0.5057 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.1334, allocations: 107.1 kB / 0.5058 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.1335, allocations: 21.55 kB / 0.5058 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.1336, allocations: 1.375 kB / 0.5058 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.1336, allocations: 13.42 kB / 0.5058 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.1337, allocations: 8.109 kB / 0.5058 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1337, allocations: 0 / 0.5058 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.134, allocations: 160.7 kB / 0.506 GB, free: 8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.134, allocations: 7.938 kB / 0.506 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.134, allocations: 4.125 kB / 0.506 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1342, allocations: 103.9 kB / 0.5061 GB, free: 7.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1342, allocations: 4 kB / 0.5061 GB, free: 7.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1342, allocations: 1.375 kB / 0.5061 GB, free: 7.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1342, allocations: 0 / 0.5061 GB, free: 7.934 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.0004247/0.1347, allocations: 355.9 kB / 0.5064 GB, free: 7.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1347, allocations: 9.625 kB / 0.5064 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1348, allocations: 6.312 kB / 0.5064 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.1348, allocations: 161.8 kB / 0.5066 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.651e-05/0.1349, allocations: 29.02 kB / 0.5066 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.135, allocations: 1.75 kB / 0.5066 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1351, allocations: 47.06 kB / 0.5067 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1351, allocations: 1.375 kB / 0.5067 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1351, allocations: 3.938 kB / 0.5067 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1351, allocations: 0 / 0.5067 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.197e-05/0.1352, allocations: 16.11 kB / 0.5067 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.1354, allocations: 157.6 kB / 0.5068 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1356, allocations: 31.83 kB / 0.5069 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.925e-05/0.1356, allocations: 14.48 kB / 0.5069 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.1359, allocations: 92.62 kB / 0.507 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1359, allocations: 35.97 kB / 0.507 GB, free: 6.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.1359, allocations: 4 kB / 0.507 GB, free: 6.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003146/0.1362, allocations: 55.05 kB / 0.5071 GB, free: 6.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.1363, allocations: 56.72 kB / 0.5071 GB, free: 6.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.1364, allocations: 100.8 kB / 0.5072 GB, free: 6.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1364, allocations: 25.7 kB / 0.5072 GB, free: 6.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.936e-05/0.1364, allocations: 81.61 kB / 0.5073 GB, free: 6.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.1365, allocations: 13 kB / 0.5073 GB, free: 6.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.1365, allocations: 20.16 kB / 0.5073 GB, free: 6.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.1366, allocations: 312.3 kB / 0.5076 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.722e-05/0.1366, allocations: 8.266 kB / 0.5076 GB, free: 6.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.1367, allocations: 8.469 kB / 0.5077 GB, free: 6.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.727e-05/0.1368, allocations: 31.11 kB / 0.5077 GB, free: 6.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1368, allocations: 0 / 0.5077 GB, free: 6.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000128/0.1369, allocations: 51.75 kB / 0.5077 GB, free: 6.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.137, allocations: 9.844 kB / 0.5077 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.137, allocations: 0 / 0.5077 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.137, allocations: 3.984 kB / 0.5077 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.1371, allocations: 6.062 kB / 0.5078 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1371, allocations: 0 / 0.5078 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.1372, allocations: 1.156 kB / 0.5078 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1372, allocations: 1.375 kB / 0.5078 GB, free: 6.117 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 6.661e-05/0.1373, allocations: 107 kB / 0.5079 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.1373, allocations: 5.219 kB / 0.5079 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.1375, allocations: 67.42 kB / 0.5079 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1375, allocations: 0 / 0.5079 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1375, allocations: 1.281 kB / 0.5079 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1375, allocations: 0 / 0.5079 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.1376, allocations: 153.5 kB / 0.5081 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1376, allocations: 7.875 kB / 0.5081 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.1377, allocations: 9.109 kB / 0.5081 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1377, allocations: 1.375 kB / 0.5081 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1377, allocations: 0 / 0.5081 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1377, allocations: 0 / 0.5081 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1377, allocations: 5.312 kB / 0.5081 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1379, allocations: 76.22 kB / 0.5082 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1379, allocations: 86.62 kB / 0.5083 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.1379, allocations: 4 kB / 0.5083 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.806e-05/0.138, allocations: 1.594 kB / 0.5083 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.138, allocations: 1.438 kB / 0.5083 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1381, allocations: 5.562 kB / 0.5083 GB, free: 5.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.516e-05/0.1381, allocations: 89.95 kB / 0.5083 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1381, allocations: 0 / 0.5083 GB, free: 5.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1384, allocations: 26.91 kB / 0.5084 GB, free: 5.445 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.0002829/0.1387, allocations: 131.6 kB / 0.5085 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.1388, allocations: 24.64 kB / 0.5085 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1388, allocations: 0 / 0.5085 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.1389, allocations: 16 kB / 0.5085 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1392, allocations: 11.27 kB / 0.5085 GB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.1395, allocations: 119.7 kB / 0.5087 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.1396, allocations: 0.6742 MB / 0.5093 GB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.628e-05/0.1397, allocations: 9.547 kB / 0.5093 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.1397, allocations: 8.5 kB / 0.5093 GB, free: 4.477 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1397, allocations: 0 / 0.5093 GB, free: 4.477 MB / 382.1 MB Notification: Performance of Templates: time 0.003656/0.1434, allocations: 0.9017 MB / 0.5102 GB, free: 3.891 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)