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.001062/0.001062, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001095/0.001095, allocations: 198.6 kB / 16.25 MB, free: 6.621 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7533/0.7533, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.7 kB / 0.5013 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4375, allocations: 80.2 MB / 0.5796 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00257/0.4402, allocations: 1.329 MB / 0.5809 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.4415, allocations: 0.844 MB / 0.5817 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.4415, allocations: 5.406 kB / 0.5817 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.4416, allocations: 0.6562 kB / 0.5817 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.627e-05/0.4417, allocations: 0.6562 kB / 0.5817 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.4423, allocations: 113 kB / 0.5818 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.643e-05/0.4424, allocations: 24.03 kB / 0.5819 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.4424, allocations: 3.078 kB / 0.5819 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.4425, allocations: 15.77 kB / 0.5819 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.4426, allocations: 18.86 kB / 0.5819 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.4426, allocations: 1.375 kB / 0.5819 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.443, allocations: 177 kB / 0.5821 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.443, allocations: 2.609 kB / 0.5821 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.443, allocations: 10.2 kB / 0.5821 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.4433, allocations: 124.7 kB / 0.5822 GB, free: 2.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4433, allocations: 0.9062 kB / 0.5822 GB, free: 2.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4433, allocations: 0 / 0.5822 GB, free: 2.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.4434, allocations: 1 kB / 0.5822 GB, free: 2.883 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.0004707/0.4438, allocations: 361 kB / 0.5825 GB, free: 2.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4439, allocations: 10.06 kB / 0.5826 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.444, allocations: 2.5 kB / 0.5826 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.744e-05/0.4441, allocations: 167 kB / 0.5827 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.651e-05/0.4441, allocations: 30.91 kB / 0.5827 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.4442, allocations: 5.562 kB / 0.5827 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.4443, allocations: 44.44 kB / 0.5828 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4443, allocations: 3.938 kB / 0.5828 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4443, allocations: 1.312 kB / 0.5828 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4443, allocations: 4 kB / 0.5828 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.93e-05/0.4445, allocations: 18.95 kB / 0.5828 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.4446, allocations: 158.7 kB / 0.583 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.4448, allocations: 46.38 kB / 0.583 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.4449, allocations: 22.5 kB / 0.583 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.4452, allocations: 188.4 kB / 0.5832 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.4452, allocations: 32.44 kB / 0.5832 GB, free: 1.742 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.4452, allocations: 0 / 0.5832 GB, free: 1.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002781/0.4455, allocations: 71.98 kB / 0.5833 GB, free: 1.695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.4455, allocations: 53.19 kB / 0.5834 GB, free: 1.633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.4456, allocations: 95.66 kB / 0.5835 GB, free: 1.535 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.4456, allocations: 33.7 kB / 0.5835 GB, free: 1.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.657e-05/0.4456, allocations: 80.83 kB / 0.5836 GB, free: 1.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.4457, allocations: 15.25 kB / 0.5836 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.4457, allocations: 18.34 kB / 0.5836 GB, free: 1.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.4458, allocations: 312.9 kB / 0.5839 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.4458, allocations: 14.98 kB / 0.5839 GB, free: 1.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.4459, allocations: 8.281 kB / 0.5839 GB, free: 1.062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.983e-05/0.446, allocations: 34.41 kB / 0.584 GB, free: 1.043 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.446, allocations: 0 / 0.584 GB, free: 1.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001201/0.4461, allocations: 52.61 kB / 0.584 GB, free: 1.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.4461, allocations: 12.11 kB / 0.584 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.4461, allocations: 0 / 0.584 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4462, allocations: 1 kB / 0.584 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.746e-05/0.4462, allocations: 13.02 kB / 0.584 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4462, allocations: 3.938 kB / 0.584 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.4463, allocations: 1.906 kB / 0.584 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.4463, allocations: 0.9062 kB / 0.584 GB, free: 0.9961 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.636e-05/0.4463, allocations: 118.2 kB / 0.5841 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.4464, allocations: 5.188 kB / 0.5841 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.4465, allocations: 65.28 kB / 0.5842 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4466, allocations: 1.281 kB / 0.5842 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4466, allocations: 0 / 0.5842 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4466, allocations: 0.5625 kB / 0.5842 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.322e-05/0.4467, allocations: 155.1 kB / 0.5844 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4467, allocations: 0 / 0.5844 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.4467, allocations: 16.44 kB / 0.5844 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4467, allocations: 9 kB / 0.5844 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4467, allocations: 0.7969 kB / 0.5844 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4468, allocations: 1.031 kB / 0.5844 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4468, allocations: 3.938 kB / 0.5844 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.4469, allocations: 84.25 kB / 0.5845 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.447, allocations: 89.62 kB / 0.5846 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.447, allocations: 8.594 kB / 0.5846 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.732e-05/0.4471, allocations: 3.141 kB / 0.5846 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.4471, allocations: 7.359 kB / 0.5846 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.4472, allocations: 1.812 kB / 0.5846 GB, free: 436 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.227e-05/0.4472, allocations: 82.88 kB / 0.5847 GB, free: 356 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4472, allocations: 0 / 0.5847 GB, free: 356 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.4474, allocations: 28.12 kB / 0.5847 GB, free: 352 kB / 430.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.0002442/0.4477, allocations: 143.3 kB / 0.5848 GB, free: 244 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.4479, allocations: 34.34 kB / 0.5849 GB, free: 232 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4479, allocations: 0.7188 kB / 0.5849 GB, free: 232 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.189e-05/0.4479, allocations: 12.31 kB / 0.5849 GB, free: 232 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.4482, allocations: 8.516 kB / 0.5849 GB, free: 228 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.4485, allocations: 127.2 kB / 0.585 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.4487, allocations: 0.6794 MB / 0.5857 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.4488, allocations: 7.297 kB / 0.5857 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.4488, allocations: 10.12 kB / 0.5857 GB, free: 15.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4488, allocations: 0 / 0.5857 GB, free: 15.39 MB / 446.1 MB Notification: Performance of Templates: time 0.004014/0.4528, allocations: 1.032 MB / 0.5867 GB, free: 15.28 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)