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.001001/0.001001, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008091/0.008091, allocations: 173.2 kB / 16.27 MB, free: 6.652 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.378/1.378, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7418/0.7418, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003613, allocations: 9.812 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4727, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001344/0.474, allocations: 0.9875 MB / 0.5846 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.4753, allocations: 0.8448 MB / 0.5855 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.4754, allocations: 0 / 0.5855 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.4754, allocations: 0 / 0.5855 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.4755, allocations: 14.08 kB / 0.5855 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.4759, allocations: 115.8 kB / 0.5856 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.476, allocations: 23.91 kB / 0.5856 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.4761, allocations: 2.219 kB / 0.5856 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.4761, allocations: 7.219 kB / 0.5856 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.4762, allocations: 19.16 kB / 0.5856 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.4762, allocations: 1.438 kB / 0.5856 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.4766, allocations: 169 kB / 0.5858 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.4766, allocations: 6.156 kB / 0.5858 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.4766, allocations: 39.58 kB / 0.5858 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.4769, allocations: 121.6 kB / 0.586 GB, free: 2.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4769, allocations: 0.5156 kB / 0.586 GB, free: 2.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4769, allocations: 0 / 0.586 GB, free: 2.508 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.4769, allocations: 0 / 0.586 GB, free: 2.508 MB / 430.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.0003969/0.4773, allocations: 354.2 kB / 0.5863 GB, free: 2.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4774, allocations: 9.375 kB / 0.5863 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.4774, allocations: 3.375 kB / 0.5863 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.886e-05/0.4775, allocations: 170.8 kB / 0.5865 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.228e-05/0.4776, allocations: 33.7 kB / 0.5865 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.4776, allocations: 6.156 kB / 0.5865 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.4778, allocations: 44.88 kB / 0.5866 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4778, allocations: 3.938 kB / 0.5866 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.4778, allocations: 0 / 0.5866 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4778, allocations: 0.75 kB / 0.5866 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.983e-05/0.4779, allocations: 18.52 kB / 0.5866 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.478, allocations: 163.4 kB / 0.5867 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.4783, allocations: 46.42 kB / 0.5868 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.4783, allocations: 16.94 kB / 0.5868 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.4786, allocations: 178.8 kB / 0.587 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4786, allocations: 37.09 kB / 0.587 GB, free: 1.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4786, allocations: 3.938 kB / 0.587 GB, free: 1.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002549/0.4789, allocations: 79.38 kB / 0.5871 GB, free: 1.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.4789, allocations: 53.02 kB / 0.5871 GB, free: 1.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.202e-05/0.479, allocations: 102.7 kB / 0.5872 GB, free: 1.148 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.479, allocations: 26.67 kB / 0.5873 GB, free: 1.117 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.254e-05/0.479, allocations: 80.8 kB / 0.5873 GB, free: 1.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.479, allocations: 10.11 kB / 0.5873 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.4791, allocations: 12.14 kB / 0.5874 GB, free: 1.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.4791, allocations: 317 kB / 0.5877 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.4792, allocations: 11.23 kB / 0.5877 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.4792, allocations: 8.641 kB / 0.5877 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.704e-05/0.4793, allocations: 33.17 kB / 0.5877 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4793, allocations: 0 / 0.5877 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001301/0.4795, allocations: 57.08 kB / 0.5878 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4795, allocations: 8.75 kB / 0.5878 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4795, allocations: 1.703 kB / 0.5878 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4795, allocations: 4 kB / 0.5878 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/0.4796, allocations: 8.188 kB / 0.5878 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4796, allocations: 0.5625 kB / 0.5878 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.4796, allocations: 6.844 kB / 0.5878 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.4796, allocations: 5.453 kB / 0.5878 GB, free: 0.6172 MB / 430.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 5.202e-05/0.4797, allocations: 109.5 kB / 0.5879 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.4797, allocations: 5.906 kB / 0.5879 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.4799, allocations: 72.11 kB / 0.588 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4799, allocations: 1.375 kB / 0.588 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4799, allocations: 0 / 0.588 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4799, allocations: 1.312 kB / 0.588 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.884e-05/0.48, allocations: 158.3 kB / 0.5881 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.48, allocations: 1.906 kB / 0.5881 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.4801, allocations: 6.609 kB / 0.5881 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4801, allocations: 4.719 kB / 0.5881 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4801, allocations: 1.5 kB / 0.5881 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4801, allocations: 0.8125 kB / 0.5881 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4801, allocations: 0 / 0.5881 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.4803, allocations: 91.36 kB / 0.5882 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.4803, allocations: 85.86 kB / 0.5883 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.4803, allocations: 9.156 kB / 0.5883 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.838e-05/0.4804, allocations: 2.719 kB / 0.5883 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.4804, allocations: 3.344 kB / 0.5883 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4805, allocations: 9.797 kB / 0.5883 GB, free: 52 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.879e-05/0.4805, allocations: 83.31 kB / 0.5884 GB, free: 15.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4805, allocations: 0.8125 kB / 0.5884 GB, free: 15.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.4808, allocations: 31.83 kB / 0.5884 GB, free: 15.96 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.0002552/0.481, allocations: 139.2 kB / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.4812, allocations: 30.45 kB / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4812, allocations: 3.938 kB / 0.5886 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.4813, allocations: 15.84 kB / 0.5886 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.4815, allocations: 12.86 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.4818, allocations: 133.4 kB / 0.5888 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.4821, allocations: 0.6769 MB / 0.5894 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.88e-05/0.4822, allocations: 7.562 kB / 0.5894 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.4822, allocations: 9.156 kB / 0.5894 GB, free: 15.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4822, allocations: 0.9062 kB / 0.5894 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Templates: time 0.003907/0.4861, allocations: 1.011 MB / 0.5904 GB, free: 14.91 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)