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.007919/0.007919, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001483/0.001483, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8353/0.8353, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 0.5814 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.453/0.4543, allocations: 80.2 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00203/0.4564, allocations: 1.265 MB / 0.6609 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4576, allocations: 0.8275 MB / 0.6617 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.4576, allocations: 0 / 0.6617 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.4577, allocations: 4.688 kB / 0.6617 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.4577, allocations: 2.047 kB / 0.6617 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.4582, allocations: 130.3 kB / 0.6619 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.4583, allocations: 28.61 kB / 0.6619 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.4584, allocations: 6.016 kB / 0.6619 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.4584, allocations: 11.33 kB / 0.6619 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.4585, allocations: 15.53 kB / 0.6619 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.4585, allocations: 1.438 kB / 0.6619 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.4588, allocations: 161.1 kB / 0.6621 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.4589, allocations: 10.58 kB / 0.6621 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.4589, allocations: 13.75 kB / 0.6621 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.4591, allocations: 119.5 kB / 0.6622 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4591, allocations: 0 / 0.6622 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4591, allocations: 0 / 0.6622 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.4592, allocations: 4 kB / 0.6622 GB, free: 8.664 MB / 0.4981 GB 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.0003897/0.4596, allocations: 371.2 kB / 0.6626 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4596, allocations: 9 kB / 0.6626 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.4597, allocations: 7.469 kB / 0.6626 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.689e-05/0.4597, allocations: 161.8 kB / 0.6627 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.4598, allocations: 30.89 kB / 0.6628 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.4598, allocations: 1.625 kB / 0.6628 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.46, allocations: 51.52 kB / 0.6628 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.46, allocations: 5.5 kB / 0.6628 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.46, allocations: 4 kB / 0.6628 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.46, allocations: 0.75 kB / 0.6628 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.942e-05/0.4601, allocations: 15.91 kB / 0.6628 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.4602, allocations: 169.3 kB / 0.663 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.4604, allocations: 41.52 kB / 0.663 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.4605, allocations: 23.12 kB / 0.6631 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.4608, allocations: 177.2 kB / 0.6632 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.4608, allocations: 32.06 kB / 0.6633 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.4608, allocations: 0 / 0.6633 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002347/0.461, allocations: 74.09 kB / 0.6633 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.4611, allocations: 59.41 kB / 0.6634 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.467e-05/0.4611, allocations: 97.56 kB / 0.6635 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.4611, allocations: 27.2 kB / 0.6635 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.3e-05/0.4612, allocations: 80.14 kB / 0.6636 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.4612, allocations: 13.09 kB / 0.6636 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.4612, allocations: 13.75 kB / 0.6636 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.4613, allocations: 320.1 kB / 0.6639 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.961e-05/0.4613, allocations: 9.094 kB / 0.6639 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/0.4614, allocations: 14.86 kB / 0.6639 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.4615, allocations: 24.59 kB / 0.664 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4615, allocations: 1.469 kB / 0.664 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001261/0.4616, allocations: 59.5 kB / 0.664 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4616, allocations: 8.219 kB / 0.664 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4616, allocations: 1.344 kB / 0.664 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4617, allocations: 3.938 kB / 0.664 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.4617, allocations: 15.08 kB / 0.664 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4617, allocations: 0 / 0.664 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.4618, allocations: 5.25 kB / 0.664 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.4618, allocations: 1.375 kB / 0.664 GB, free: 6.742 MB / 0.4981 GB 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.746e-05/0.4618, allocations: 111.8 kB / 0.6642 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.4618, allocations: 6.125 kB / 0.6642 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.462, allocations: 72.22 kB / 0.6642 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.462, allocations: 0 / 0.6642 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.462, allocations: 5.422 kB / 0.6642 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.462, allocations: 7.984 kB / 0.6642 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.437e-05/0.4621, allocations: 154.3 kB / 0.6644 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4621, allocations: 1.094 kB / 0.6644 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.4622, allocations: 9.703 kB / 0.6644 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4622, allocations: 5.281 kB / 0.6644 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.4622, allocations: 0 / 0.6644 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4622, allocations: 1.312 kB / 0.6644 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4622, allocations: 0 / 0.6644 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.4624, allocations: 84.58 kB / 0.6645 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.4624, allocations: 87.89 kB / 0.6646 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.4624, allocations: 3.938 kB / 0.6646 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.063e-05/0.4625, allocations: 9.297 kB / 0.6646 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.4625, allocations: 6.969 kB / 0.6646 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.4625, allocations: 1.156 kB / 0.6646 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.835e-05/0.4625, allocations: 78.12 kB / 0.6647 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4626, allocations: 0 / 0.6647 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002389/0.4628, allocations: 39.45 kB / 0.6647 GB, free: 6.051 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.463, allocations: 138.3 kB / 0.6648 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.4632, allocations: 25.89 kB / 0.6649 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4632, allocations: 0 / 0.6649 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.436e-05/0.4632, allocations: 25.14 kB / 0.6649 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.4635, allocations: 9.422 kB / 0.6649 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.4637, allocations: 123.7 kB / 0.665 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.489e-05/0.4638, allocations: 0.6787 MB / 0.6657 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.828e-05/0.4639, allocations: 1.469 kB / 0.6657 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.4639, allocations: 14.16 kB / 0.6657 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4639, allocations: 0 / 0.6657 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of Templates: time 0.003428/0.4673, allocations: 1.062 MB / 0.6667 GB, free: 4.527 MB / 0.4981 GB 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)