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.001266/0.001266, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7862/0.7862, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 71.97 kB / 0.5018 GB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4185, allocations: 80.2 MB / 0.5801 GB, free: 4.785 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00272/0.4213, allocations: 1.265 MB / 0.5813 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.4225, allocations: 0.8339 MB / 0.5821 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.4226, allocations: 1.031 kB / 0.5821 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.885e-05/0.4226, allocations: 0 / 0.5821 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.4226, allocations: 6.141 kB / 0.5821 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.4232, allocations: 133.8 kB / 0.5823 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.4233, allocations: 24.27 kB / 0.5823 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.4234, allocations: 1.844 kB / 0.5823 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.4234, allocations: 16.42 kB / 0.5823 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.4235, allocations: 10.8 kB / 0.5823 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.4235, allocations: 0.8125 kB / 0.5823 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.4239, allocations: 170.1 kB / 0.5825 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.4239, allocations: 6.609 kB / 0.5825 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.4239, allocations: 8.922 kB / 0.5825 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.4242, allocations: 124.2 kB / 0.5826 GB, free: 3.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4242, allocations: 0.9375 kB / 0.5826 GB, free: 3.133 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4242, allocations: 0.5625 kB / 0.5826 GB, free: 3.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.4242, allocations: 0 / 0.5826 GB, free: 3.133 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.0003926/0.4246, allocations: 362 kB / 0.583 GB, free: 2.754 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.4247, allocations: 9.562 kB / 0.583 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.4247, allocations: 2.828 kB / 0.583 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.898e-05/0.4248, allocations: 163.5 kB / 0.5831 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/0.4249, allocations: 34.12 kB / 0.5832 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.4249, allocations: 1.094 kB / 0.5832 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.425, allocations: 47.89 kB / 0.5832 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.425, allocations: 4.547 kB / 0.5832 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4251, allocations: 5.25 kB / 0.5832 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.4251, allocations: 0 / 0.5832 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.955e-05/0.4252, allocations: 15.73 kB / 0.5832 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.4253, allocations: 159.1 kB / 0.5834 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.4255, allocations: 41.06 kB / 0.5834 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.4256, allocations: 17.69 kB / 0.5834 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.4258, allocations: 182.4 kB / 0.5836 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.4259, allocations: 39.16 kB / 0.5837 GB, free: 2.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.4259, allocations: 1.219 kB / 0.5837 GB, free: 2.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002419/0.4261, allocations: 75.89 kB / 0.5837 GB, free: 1.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.4261, allocations: 53.36 kB / 0.5838 GB, free: 1.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.753e-05/0.4262, allocations: 102.2 kB / 0.5839 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.4262, allocations: 27.03 kB / 0.5839 GB, free: 1.754 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.303e-05/0.4262, allocations: 88.12 kB / 0.584 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.4263, allocations: 23.42 kB / 0.584 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.4263, allocations: 14.45 kB / 0.584 GB, free: 1.629 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.4263, allocations: 316.7 kB / 0.5843 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.4264, allocations: 7.5 kB / 0.5843 GB, free: 1.312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-05/0.4264, allocations: 16.06 kB / 0.5844 GB, free: 1.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.883e-05/0.4265, allocations: 29.34 kB / 0.5844 GB, free: 1.289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4266, allocations: 1.688 kB / 0.5844 GB, free: 1.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001269/0.4267, allocations: 55.77 kB / 0.5844 GB, free: 1.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4267, allocations: 9.312 kB / 0.5844 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4267, allocations: 0.5625 kB / 0.5844 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4267, allocations: 0.875 kB / 0.5844 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.401e-05/0.4268, allocations: 12.75 kB / 0.5845 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4268, allocations: 0 / 0.5845 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.4268, allocations: 6.156 kB / 0.5845 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.4269, allocations: 1.828 kB / 0.5845 GB, free: 1.238 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 4.572e-05/0.4269, allocations: 114.1 kB / 0.5846 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.4269, allocations: 9.828 kB / 0.5846 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.4271, allocations: 64.39 kB / 0.5846 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4271, allocations: 0 / 0.5846 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4271, allocations: 1 kB / 0.5846 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4271, allocations: 0.6562 kB / 0.5846 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.913e-05/0.4272, allocations: 158.9 kB / 0.5848 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4272, allocations: 0.75 kB / 0.5848 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.4273, allocations: 8.391 kB / 0.5848 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4273, allocations: 3.938 kB / 0.5848 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.4273, allocations: 1.062 kB / 0.5848 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4273, allocations: 5.969 kB / 0.5848 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4273, allocations: 3.938 kB / 0.5848 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.4274, allocations: 86.14 kB / 0.5849 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.4275, allocations: 82 kB / 0.585 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4275, allocations: 6.094 kB / 0.585 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.4276, allocations: 10.66 kB / 0.585 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.4276, allocations: 2.953 kB / 0.585 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.4276, allocations: 1.688 kB / 0.585 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.897e-05/0.4276, allocations: 78.77 kB / 0.5851 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4276, allocations: 1.188 kB / 0.5851 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.4279, allocations: 35.45 kB / 0.5851 GB, free: 0.5898 MB / 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.0002038/0.4281, allocations: 143 kB / 0.5852 GB, free: 496 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.4283, allocations: 34.5 kB / 0.5853 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4283, allocations: 1.156 kB / 0.5853 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.649e-05/0.4283, allocations: 16.75 kB / 0.5853 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.4286, allocations: 8.016 kB / 0.5853 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.4288, allocations: 129.1 kB / 0.5854 GB, free: 352 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.429, allocations: 0.6762 MB / 0.5861 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.3e-05/0.4291, allocations: 3.656 kB / 0.5861 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.4291, allocations: 13.41 kB / 0.5861 GB, free: 15.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4291, allocations: 0.8438 kB / 0.5861 GB, free: 15.64 MB / 446.1 MB Notification: Performance of Templates: time 0.003581/0.4327, allocations: 1.055 MB / 0.5871 GB, free: 15.52 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)