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.001428/0.001428, allocations: 115.2 kB / 16.37 MB, free: 5.539 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.001808/0.001808, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8002/0.8002, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3709, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002201/0.3731, allocations: 1.259 MB / 0.5827 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3743, allocations: 0.8387 MB / 0.5836 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.3743, allocations: 3.938 kB / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.3743, allocations: 0 / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.235e-05/0.3744, allocations: 10.14 kB / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.3749, allocations: 126.8 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.3749, allocations: 26.39 kB / 0.5837 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.375, allocations: 2.688 kB / 0.5837 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.375, allocations: 10.38 kB / 0.5837 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.3751, allocations: 16.53 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3751, allocations: 2.094 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.3754, allocations: 162.2 kB / 0.5839 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.3754, allocations: 9.797 kB / 0.5839 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.3755, allocations: 11.8 kB / 0.5839 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.3757, allocations: 123.1 kB / 0.584 GB, free: 25.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3757, allocations: 4 kB / 0.584 GB, free: 25.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3757, allocations: 0 / 0.584 GB, free: 25.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3757, allocations: 0 / 0.584 GB, free: 25.7 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.0003745/0.3761, allocations: 356.6 kB / 0.5844 GB, free: 25.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3761, allocations: 13.06 kB / 0.5844 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.3762, allocations: 6.906 kB / 0.5844 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3763, allocations: 173.7 kB / 0.5846 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.308e-05/0.3764, allocations: 29.17 kB / 0.5846 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.3764, allocations: 1.594 kB / 0.5846 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.3765, allocations: 42.31 kB / 0.5846 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3765, allocations: 3.938 kB / 0.5846 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3765, allocations: 9.156 kB / 0.5846 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3766, allocations: 0.7812 kB / 0.5846 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.3767, allocations: 16.95 kB / 0.5847 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.3768, allocations: 166.5 kB / 0.5848 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.377, allocations: 42.36 kB / 0.5849 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.377, allocations: 20.91 kB / 0.5849 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.3773, allocations: 178.1 kB / 0.5851 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.3773, allocations: 34.72 kB / 0.5851 GB, free: 24.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3773, allocations: 3.938 kB / 0.5851 GB, free: 24.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002216/0.3776, allocations: 72.45 kB / 0.5852 GB, free: 24.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.3776, allocations: 52.78 kB / 0.5852 GB, free: 24.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.607e-05/0.3776, allocations: 102.8 kB / 0.5853 GB, free: 24.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.3777, allocations: 25.7 kB / 0.5853 GB, free: 24.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.559e-05/0.3777, allocations: 85.14 kB / 0.5854 GB, free: 24.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.3777, allocations: 14.03 kB / 0.5854 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.3777, allocations: 13.75 kB / 0.5854 GB, free: 24.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.3778, allocations: 316.7 kB / 0.5857 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.3778, allocations: 9.547 kB / 0.5858 GB, free: 23.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.3779, allocations: 11.23 kB / 0.5858 GB, free: 23.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.535e-05/0.378, allocations: 29.7 kB / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.378, allocations: 2.875 kB / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001175/0.3781, allocations: 59.36 kB / 0.5858 GB, free: 23.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3781, allocations: 8.906 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3781, allocations: 2.188 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3782, allocations: 0 / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.3782, allocations: 6.062 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3782, allocations: 3.812 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.3783, allocations: 5.375 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.3783, allocations: 5.391 kB / 0.5859 GB, free: 23.77 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.639e-05/0.3783, allocations: 110.8 kB / 0.586 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.3784, allocations: 6.594 kB / 0.586 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.3785, allocations: 72.3 kB / 0.5861 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3785, allocations: 0.5938 kB / 0.5861 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3785, allocations: 1.25 kB / 0.5861 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3786, allocations: 2 kB / 0.5861 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.433e-05/0.3786, allocations: 158.9 kB / 0.5862 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3786, allocations: 0 / 0.5862 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.3787, allocations: 15.02 kB / 0.5862 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3787, allocations: 3.938 kB / 0.5862 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3787, allocations: 2.844 kB / 0.5862 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3787, allocations: 0 / 0.5862 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3787, allocations: 5.328 kB / 0.5862 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.3789, allocations: 86.14 kB / 0.5863 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.3789, allocations: 83.95 kB / 0.5864 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3789, allocations: 3.938 kB / 0.5864 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.379, allocations: 6.953 kB / 0.5864 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.379, allocations: 5.062 kB / 0.5864 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.379, allocations: 3.031 kB / 0.5864 GB, free: 23.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.099e-05/0.3791, allocations: 79.75 kB / 0.5865 GB, free: 23.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3791, allocations: 0 / 0.5865 GB, free: 23.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.3793, allocations: 34.7 kB / 0.5865 GB, free: 23.09 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.0002053/0.3795, allocations: 140 kB / 0.5867 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.3797, allocations: 33.88 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3797, allocations: 1.188 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.279e-05/0.3798, allocations: 14.22 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.38, allocations: 7.953 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.3804, allocations: 121.6 kB / 0.5868 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.3805, allocations: 0.6768 MB / 0.5875 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.51e-05/0.3806, allocations: 9.094 kB / 0.5875 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.3806, allocations: 11.66 kB / 0.5875 GB, free: 22.13 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3806, allocations: 0 / 0.5875 GB, free: 22.13 MB / 446.1 MB Notification: Performance of Templates: time 0.003539/0.3842, allocations: 1.057 MB / 0.5885 GB, free: 21.63 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)