Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.004906/0.004906, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001171/0.001171, allocations: 195.8 kB / 16.79 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8985/0.8985, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.09 kB / 0.5053 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1449, allocations: 80.93 MB / 0.5843 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002275/0.1473, allocations: 1.324 MB / 0.5856 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1485, allocations: 0.8553 MB / 0.5865 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.1486, allocations: 0 / 0.5865 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.1486, allocations: 0 / 0.5865 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.1486, allocations: 0 / 0.5865 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.1491, allocations: 119.5 kB / 0.5866 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.969e-05/0.1491, allocations: 23.92 kB / 0.5866 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.1492, allocations: 0 / 0.5866 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.1492, allocations: 19.88 kB / 0.5866 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.1493, allocations: 7.984 kB / 0.5866 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1493, allocations: 0 / 0.5866 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.1496, allocations: 171.7 kB / 0.5868 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.1496, allocations: 11.92 kB / 0.5868 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.1497, allocations: 8 kB / 0.5868 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1498, allocations: 92.05 kB / 0.5869 GB, free: 2.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1498, allocations: 0 / 0.5869 GB, free: 2.336 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1498, allocations: 0 / 0.5869 GB, free: 2.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1499, allocations: 0 / 0.5869 GB, free: 2.336 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004126/0.1503, allocations: 363.4 kB / 0.5873 GB, free: 1.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1503, allocations: 12.03 kB / 0.5873 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.1504, allocations: 0.9375 kB / 0.5873 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1505, allocations: 168.4 kB / 0.5874 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.1506, allocations: 30.27 kB / 0.5875 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.1506, allocations: 4.375 kB / 0.5875 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1507, allocations: 46.25 kB / 0.5875 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1507, allocations: 3.938 kB / 0.5875 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1507, allocations: 0 / 0.5875 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1507, allocations: 0 / 0.5875 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.409e-05/0.1508, allocations: 23.92 kB / 0.5875 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.151, allocations: 157.7 kB / 0.5877 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.1512, allocations: 50.59 kB / 0.5877 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.1513, allocations: 12.86 kB / 0.5877 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.1516, allocations: 178.3 kB / 0.5879 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1516, allocations: 38.56 kB / 0.588 GB, free: 1.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1516, allocations: 0 / 0.588 GB, free: 1.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002411/0.1519, allocations: 77.45 kB / 0.588 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.1519, allocations: 51.41 kB / 0.5881 GB, free: 0.918 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.152, allocations: 110 kB / 0.5882 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.152, allocations: 25.7 kB / 0.5882 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.152, allocations: 80.14 kB / 0.5883 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.152, allocations: 7.906 kB / 0.5883 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.1521, allocations: 21.66 kB / 0.5883 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1522, allocations: 318.8 kB / 0.5886 GB, free: 340 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.782e-05/0.1522, allocations: 8 kB / 0.5886 GB, free: 332 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.083e-05/0.1523, allocations: 7.984 kB / 0.5886 GB, free: 324 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.1524, allocations: 32.84 kB / 0.5887 GB, free: 288 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1524, allocations: 0 / 0.5887 GB, free: 288 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000138/0.1525, allocations: 57.53 kB / 0.5887 GB, free: 224 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1526, allocations: 11.94 kB / 0.5887 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1526, allocations: 4 kB / 0.5887 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1526, allocations: 0 / 0.5887 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.1527, allocations: 8 kB / 0.5887 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1527, allocations: 3.984 kB / 0.5887 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.1527, allocations: 7.938 kB / 0.5887 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.1527, allocations: 0 / 0.5887 GB, free: 188 kB / 494.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 (4): * Single equations (assignments): 4 * 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.866e-05/0.1528, allocations: 109.8 kB / 0.5889 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.1528, allocations: 3.938 kB / 0.5889 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.153, allocations: 73.11 kB / 0.5889 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.153, allocations: 0 / 0.5889 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.153, allocations: 0 / 0.5889 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.153, allocations: 0 / 0.5889 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.1531, allocations: 157.7 kB / 0.5891 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1531, allocations: 0 / 0.5891 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.1532, allocations: 11.98 kB / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1532, allocations: 3.938 kB / 0.5891 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1532, allocations: 0 / 0.5891 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1532, allocations: 8 kB / 0.5891 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1532, allocations: 0 / 0.5891 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.1534, allocations: 84.95 kB / 0.5892 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.1535, allocations: 81.11 kB / 0.5893 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1535, allocations: 3.938 kB / 0.5893 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.1535, allocations: 11.98 kB / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.1536, allocations: 4 kB / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1536, allocations: 11.94 kB / 0.5893 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.1536, allocations: 75.7 kB / 0.5894 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1536, allocations: 0 / 0.5894 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002315/0.1539, allocations: 35.92 kB / 0.5894 GB, free: 15.41 MB / 0.4981 GB 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 (4): * Single equations (assignments): 4 * 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.0002054/0.1541, allocations: 139.2 kB / 0.5895 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.1542, allocations: 23.98 kB / 0.5895 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1542, allocations: 4 kB / 0.5896 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.1543, allocations: 20.16 kB / 0.5896 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.1545, allocations: 11.94 kB / 0.5896 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.1548, allocations: 154.7 kB / 0.5897 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.155, allocations: 0.677 MB / 0.5904 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.155, allocations: 7.438 kB / 0.5904 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.155, allocations: 0 / 0.5904 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.002176/0.1572, allocations: 0.9718 MB / 0.5913 GB, free: 13.34 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)