Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001619/0.001619, allocations: 105 kB / 16.27 MB, free: 6.402 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.00158/0.00158, allocations: 190.8 kB / 17.2 MB, free: 5.938 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8358/0.8358, allocations: 132.2 MB / 423.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 67.89 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3471, allocations: 80.18 MB / 0.5807 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002095/0.3492, allocations: 1.256 MB / 0.582 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3503, allocations: 0.8356 MB / 0.5828 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.3503, allocations: 4.719 kB / 0.5828 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.3504, allocations: 3.938 kB / 0.5828 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.52e-05/0.3504, allocations: 5.188 kB / 0.5828 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.3509, allocations: 133.2 kB / 0.5829 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.622e-05/0.3509, allocations: 28.7 kB / 0.583 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.351, allocations: 2.406 kB / 0.583 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.351, allocations: 6.688 kB / 0.583 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.3511, allocations: 16.92 kB / 0.583 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3511, allocations: 1.062 kB / 0.583 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.3514, allocations: 162.2 kB / 0.5831 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.3514, allocations: 6.156 kB / 0.5831 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.3515, allocations: 7.781 kB / 0.5831 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.3517, allocations: 130.2 kB / 0.5833 GB, free: 25.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3517, allocations: 0.7812 kB / 0.5833 GB, free: 25.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3517, allocations: 3.938 kB / 0.5833 GB, free: 25.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.3517, allocations: 3.062 kB / 0.5833 GB, free: 25.44 MB / 446.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.0003431/0.352, allocations: 358.8 kB / 0.5836 GB, free: 25.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.3521, allocations: 9.219 kB / 0.5836 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.3521, allocations: 3.156 kB / 0.5836 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.401e-05/0.3522, allocations: 161.5 kB / 0.5838 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.3523, allocations: 33.22 kB / 0.5838 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.3523, allocations: 7.875 kB / 0.5838 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.3524, allocations: 39.12 kB / 0.5839 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3524, allocations: 3.938 kB / 0.5839 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3524, allocations: 5.438 kB / 0.5839 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3524, allocations: 0.8438 kB / 0.5839 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.3525, allocations: 18.8 kB / 0.5839 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.3527, allocations: 167.9 kB / 0.5841 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.3529, allocations: 41.05 kB / 0.5841 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.3529, allocations: 27.42 kB / 0.5841 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.3532, allocations: 181.2 kB / 0.5843 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.3532, allocations: 37.62 kB / 0.5843 GB, free: 24.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3532, allocations: 0 / 0.5843 GB, free: 24.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002362/0.3534, allocations: 69.3 kB / 0.5844 GB, free: 24.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.3535, allocations: 56.5 kB / 0.5844 GB, free: 24.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.565e-05/0.3535, allocations: 93.33 kB / 0.5845 GB, free: 24.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.3535, allocations: 29.05 kB / 0.5846 GB, free: 24.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.285e-05/0.3536, allocations: 88.12 kB / 0.5846 GB, free: 23.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.3536, allocations: 18.36 kB / 0.5847 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.3536, allocations: 13.19 kB / 0.5847 GB, free: 23.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.3537, allocations: 317.2 kB / 0.585 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.3537, allocations: 9.047 kB / 0.585 GB, free: 23.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.3538, allocations: 10.38 kB / 0.585 GB, free: 23.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.069e-05/0.3539, allocations: 26.59 kB / 0.585 GB, free: 23.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3539, allocations: 4.688 kB / 0.585 GB, free: 23.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001284/0.354, allocations: 60.52 kB / 0.5851 GB, free: 23.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.354, allocations: 9.125 kB / 0.5851 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.354, allocations: 1.688 kB / 0.5851 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3541, allocations: 1.25 kB / 0.5851 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.3541, allocations: 6.25 kB / 0.5851 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3541, allocations: 0 / 0.5851 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.3542, allocations: 2.75 kB / 0.5851 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.3542, allocations: 1.219 kB / 0.5851 GB, free: 23.51 MB / 446.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 4.716e-05/0.3542, allocations: 114.4 kB / 0.5852 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.3542, allocations: 5.094 kB / 0.5852 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.3544, allocations: 76.06 kB / 0.5853 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3544, allocations: 3.938 kB / 0.5853 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3544, allocations: 1.656 kB / 0.5853 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3544, allocations: 0 / 0.5853 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.342e-05/0.3545, allocations: 160.2 kB / 0.5855 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3545, allocations: 0 / 0.5855 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.3546, allocations: 8.531 kB / 0.5855 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3546, allocations: 3.938 kB / 0.5855 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3546, allocations: 5.203 kB / 0.5855 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3546, allocations: 5.312 kB / 0.5855 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3546, allocations: 0 / 0.5855 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.3548, allocations: 86.72 kB / 0.5856 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.3548, allocations: 86.52 kB / 0.5856 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3548, allocations: 10.36 kB / 0.5856 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.02e-05/0.3549, allocations: 6.438 kB / 0.5857 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.3549, allocations: 5.297 kB / 0.5857 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3549, allocations: 2.656 kB / 0.5857 GB, free: 22.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.858e-05/0.3549, allocations: 78.09 kB / 0.5857 GB, free: 22.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3549, allocations: 0 / 0.5857 GB, free: 22.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.3552, allocations: 35.84 kB / 0.5858 GB, free: 22.82 MB / 446.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 (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.0001823/0.3554, allocations: 136.9 kB / 0.5859 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.3555, allocations: 37.72 kB / 0.5859 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3555, allocations: 0 / 0.5859 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.3556, allocations: 12.66 kB / 0.586 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.3558, allocations: 8.578 kB / 0.586 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.3561, allocations: 148.2 kB / 0.5861 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.157e-05/0.3562, allocations: 0.6803 MB / 0.5868 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.3562, allocations: 14.64 kB / 0.5868 GB, free: 21.84 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3562, allocations: 0 / 0.5868 GB, free: 21.84 MB / 446.1 MB Notification: Performance of Templates: time 0.002326/0.3585, allocations: 0.9815 MB / 0.5877 GB, free: 21.4 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)