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.01037/0.01037, allocations: 109 kB / 15.74 MB, free: 6.016 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.001969/0.001969, allocations: 189 kB / 16.67 MB, free: 5.941 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.517/1.517, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.457/0.457, allocations: 54.95 MB / 324.9 MB, free: 15.89 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.001592/0.001592, allocations: 67.36 kB / 456.2 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1452, allocations: 59.59 MB / 0.5037 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002684/0.148, allocations: 1.254 MB / 0.5049 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1491, allocations: 0.6869 MB / 0.5056 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.1491, allocations: 0 / 0.5056 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.1492, allocations: 7.938 kB / 0.5056 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.49e-05/0.1492, allocations: 5.359 kB / 0.5056 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.1497, allocations: 107.1 kB / 0.5057 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.659e-05/0.1498, allocations: 21.48 kB / 0.5057 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.1499, allocations: 5.359 kB / 0.5057 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.1499, allocations: 13.44 kB / 0.5058 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.15, allocations: 6.734 kB / 0.5058 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.15, allocations: 1.375 kB / 0.5058 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.1503, allocations: 155.4 kB / 0.5059 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.1504, allocations: 9.312 kB / 0.5059 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.1504, allocations: 8.109 kB / 0.5059 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.1506, allocations: 99.84 kB / 0.506 GB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1507, allocations: 0 / 0.506 GB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1507, allocations: 1.375 kB / 0.506 GB, free: 7.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1507, allocations: 0 / 0.506 GB, free: 7.863 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.0004109/0.1511, allocations: 359.9 kB / 0.5064 GB, free: 7.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1512, allocations: 9.625 kB / 0.5064 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.1512, allocations: 6.25 kB / 0.5064 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.721e-05/0.1513, allocations: 165.8 kB / 0.5065 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.4e-05/0.1514, allocations: 33 kB / 0.5066 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.1514, allocations: 1.75 kB / 0.5066 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1515, allocations: 43.12 kB / 0.5066 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1516, allocations: 0 / 0.5066 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1516, allocations: 1.375 kB / 0.5066 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1516, allocations: 0 / 0.5066 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.457e-05/0.1517, allocations: 20.11 kB / 0.5066 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.1518, allocations: 152.4 kB / 0.5068 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.053e-05/0.1519, allocations: 32.23 kB / 0.5068 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.152, allocations: 18.44 kB / 0.5068 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.1522, allocations: 93.06 kB / 0.5069 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.1522, allocations: 31.88 kB / 0.507 GB, free: 6.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1522, allocations: 4 kB / 0.507 GB, free: 6.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000243/0.1524, allocations: 55.59 kB / 0.507 GB, free: 6.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1525, allocations: 51.41 kB / 0.5071 GB, free: 6.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.012e-05/0.1526, allocations: 106.3 kB / 0.5072 GB, free: 6.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.1526, allocations: 25.7 kB / 0.5072 GB, free: 6.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.585e-05/0.1526, allocations: 80.14 kB / 0.5073 GB, free: 6.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.1526, allocations: 13.12 kB / 0.5073 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.1527, allocations: 20.56 kB / 0.5073 GB, free: 6.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.1527, allocations: 315.8 kB / 0.5076 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.207e-05/0.1528, allocations: 4.594 kB / 0.5076 GB, free: 6.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/0.1528, allocations: 8.984 kB / 0.5076 GB, free: 6.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.563e-05/0.1529, allocations: 31.03 kB / 0.5076 GB, free: 6.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1529, allocations: 0 / 0.5076 GB, free: 6.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000115/0.153, allocations: 55.73 kB / 0.5077 GB, free: 6.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.153, allocations: 5.562 kB / 0.5077 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.153, allocations: 4 kB / 0.5077 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1531, allocations: 1.031 kB / 0.5077 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.1531, allocations: 9.438 kB / 0.5077 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1532, allocations: 0 / 0.5077 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.1532, allocations: 1.5 kB / 0.5077 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1532, allocations: 5.453 kB / 0.5077 GB, free: 6.035 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 5.898e-05/0.1533, allocations: 106.8 kB / 0.5078 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.1533, allocations: 5.188 kB / 0.5078 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.1535, allocations: 66.3 kB / 0.5079 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1535, allocations: 1.469 kB / 0.5079 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1535, allocations: 0 / 0.5079 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1535, allocations: 1.688 kB / 0.5079 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.16e-05/0.1536, allocations: 148.6 kB / 0.508 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1536, allocations: 7.875 kB / 0.508 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.1536, allocations: 9.594 kB / 0.508 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1536, allocations: 3.938 kB / 0.5081 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1536, allocations: 1.25 kB / 0.5081 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1537, allocations: 0 / 0.5081 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1537, allocations: 4 kB / 0.5081 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.1538, allocations: 76.2 kB / 0.5081 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.1538, allocations: 88.05 kB / 0.5082 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.1539, allocations: 0 / 0.5082 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.747e-05/0.1539, allocations: 1.219 kB / 0.5082 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.1539, allocations: 9.141 kB / 0.5082 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1539, allocations: 1.281 kB / 0.5082 GB, free: 5.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.459e-05/0.154, allocations: 85.22 kB / 0.5083 GB, free: 5.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.154, allocations: 1.219 kB / 0.5083 GB, free: 5.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1542, allocations: 26.78 kB / 0.5083 GB, free: 5.367 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.0002123/0.1544, allocations: 128 kB / 0.5085 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.1546, allocations: 15.98 kB / 0.5085 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1546, allocations: 1.531 kB / 0.5085 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.1547, allocations: 22.86 kB / 0.5085 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.155, allocations: 7.25 kB / 0.5085 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.1553, allocations: 128 kB / 0.5086 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.1554, allocations: 0.6761 MB / 0.5093 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.29e-05/0.1555, allocations: 6.25 kB / 0.5093 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.1555, allocations: 8.656 kB / 0.5093 GB, free: 4.402 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1555, allocations: 1.188 kB / 0.5093 GB, free: 4.402 MB / 382.1 MB Notification: Performance of Templates: time 0.003857/0.1594, allocations: 0.8953 MB / 0.5102 GB, free: 3.93 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)