Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Annex60.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01095/0.01095, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001735/0.001735, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.567/1.567, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2662/0.2662, allocations: 54.96 MB / 324.9 MB, free: 4.848 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.001535/0.001535, allocations: 68.42 kB / 456.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1346, allocations: 59.6 MB / 0.5037 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002811/0.1375, allocations: 1.47 MB / 0.5051 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1387, allocations: 0.7264 MB / 0.5058 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.1387, allocations: 3.938 kB / 0.5058 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.731e-05/0.1388, allocations: 7.922 kB / 0.5059 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.1389, allocations: 15.88 kB / 0.5059 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.1395, allocations: 115.5 kB / 0.506 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.1396, allocations: 51.84 kB / 0.506 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1398, allocations: 15.94 kB / 0.506 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.1399, allocations: 23.91 kB / 0.5061 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.1399, allocations: 31.91 kB / 0.5061 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1399, allocations: 4 kB / 0.5061 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.1403, allocations: 159.7 kB / 0.5063 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.1404, allocations: 19.91 kB / 0.5063 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.1404, allocations: 15.88 kB / 0.5063 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.1407, allocations: 135.7 kB / 0.5064 GB, free: 4.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1407, allocations: 0 / 0.5064 GB, free: 4.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1407, allocations: 3.938 kB / 0.5064 GB, free: 4.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1407, allocations: 0 / 0.5064 GB, free: 4.289 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005817/0.1413, allocations: 395.2 kB / 0.5068 GB, free: 3.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1414, allocations: 12.03 kB / 0.5068 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1414, allocations: 0.9375 kB / 0.5068 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1415, allocations: 180.2 kB / 0.507 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1416, allocations: 4.375 kB / 0.507 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.1416, allocations: 384 / 0.507 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.1418, allocations: 73.78 kB / 0.5071 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1419, allocations: 4 kB / 0.5071 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1419, allocations: 0 / 0.5071 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1419, allocations: 4 kB / 0.5071 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.1422, allocations: 67.92 kB / 0.5071 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.1426, allocations: 288.6 kB / 0.5074 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1428, allocations: 62.53 kB / 0.5075 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.143, allocations: 36.92 kB / 0.5075 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.1432, allocations: 89.09 kB / 0.5076 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1432, allocations: 34.55 kB / 0.5076 GB, free: 2.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1432, allocations: 7.938 kB / 0.5076 GB, free: 2.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005553/0.1438, allocations: 137.5 kB / 0.5078 GB, free: 2.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1438, allocations: 51.41 kB / 0.5078 GB, free: 2.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.1439, allocations: 112.5 kB / 0.5079 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1439, allocations: 33.7 kB / 0.5079 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.144, allocations: 92.12 kB / 0.508 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.144, allocations: 3.906 kB / 0.508 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.1441, allocations: 17.72 kB / 0.5081 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1442, allocations: 326.7 kB / 0.5084 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1443, allocations: 27.97 kB / 0.5084 GB, free: 2.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1445, allocations: 31.97 kB / 0.5084 GB, free: 2.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.1447, allocations: 72.72 kB / 0.5085 GB, free: 1.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1448, allocations: 0 / 0.5085 GB, free: 1.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003222/0.1451, allocations: 101.5 kB / 0.5086 GB, free: 1.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1451, allocations: 11.98 kB / 0.5086 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1451, allocations: 3.938 kB / 0.5086 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1451, allocations: 0 / 0.5086 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1453, allocations: 11.98 kB / 0.5086 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1453, allocations: 4 kB / 0.5086 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.855e-05/0.1454, allocations: 7.984 kB / 0.5086 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1454, allocations: 8 kB / 0.5086 GB, free: 1.781 MB / 398.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 7.136e-05/0.1455, allocations: 113.8 kB / 0.5087 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.1455, allocations: 4 kB / 0.5087 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.1459, allocations: 117.3 kB / 0.5089 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1459, allocations: 0 / 0.5089 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1459, allocations: 0 / 0.5089 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1459, allocations: 0 / 0.5089 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.1461, allocations: 173.7 kB / 0.509 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1461, allocations: 0 / 0.509 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-05/0.1462, allocations: 19.97 kB / 0.509 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1462, allocations: 0 / 0.509 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1462, allocations: 0 / 0.509 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1462, allocations: 4 kB / 0.509 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1462, allocations: 4 kB / 0.5091 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.1466, allocations: 199.4 kB / 0.5092 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.1466, allocations: 85 kB / 0.5093 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1466, allocations: 4 kB / 0.5093 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1468, allocations: 7.984 kB / 0.5093 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.1468, allocations: 8.422 kB / 0.5093 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1468, allocations: 3.984 kB / 0.5093 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.1469, allocations: 91.28 kB / 0.5094 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1469, allocations: 3.938 kB / 0.5094 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1472, allocations: 43.86 kB / 0.5095 GB, free: 0.8086 MB / 398.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.0002017/0.1474, allocations: 127.2 kB / 0.5096 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003471/0.1477, allocations: 71.91 kB / 0.5097 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1477, allocations: 4 kB / 0.5097 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.1479, allocations: 39.89 kB / 0.5097 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.1482, allocations: 7.938 kB / 0.5097 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.1486, allocations: 151.2 kB / 0.5099 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.1488, allocations: 0.6885 MB / 0.5105 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.324e-05/0.1489, allocations: 3.984 kB / 0.5105 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.1489, allocations: 11.44 kB / 0.5105 GB, free: 15.65 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1489, allocations: 3.938 kB / 0.5106 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Templates: time 0.003875/0.1528, allocations: 1.368 MB / 0.5119 GB, free: 14.29 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)