Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000725/0.000725, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006196/0.006196, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7947/0.7947, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003986, allocations: 11.94 kB / 0.504 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4398, allocations: 81.57 MB / 0.5837 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001322/0.4412, allocations: 0.9814 MB / 0.5846 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005988/0.4418, allocations: 306.7 kB / 0.5849 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.4418, allocations: 0 / 0.5849 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.4418, allocations: 4.547 kB / 0.5849 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/0.4419, allocations: 1.859 kB / 0.5849 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.4421, allocations: 50.62 kB / 0.585 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.4422, allocations: 13.66 kB / 0.585 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.283e-05/0.4423, allocations: 2.047 kB / 0.585 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.4423, allocations: 13.05 kB / 0.585 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.4424, allocations: 8.875 kB / 0.585 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.4424, allocations: 0.9688 kB / 0.585 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.4425, allocations: 53.84 kB / 0.5851 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.4425, allocations: 1.906 kB / 0.5851 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.4426, allocations: 37.66 kB / 0.5851 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.4427, allocations: 46.34 kB / 0.5851 GB, free: 2.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4427, allocations: 4.938 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.4428, allocations: 0.5625 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.4428, allocations: 0 / 0.5852 GB, free: 2.973 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.0003165/0.4431, allocations: 329.2 kB / 0.5855 GB, free: 2.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4431, allocations: 9.328 kB / 0.5855 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.4434, allocations: 21.88 kB / 0.5855 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.31e-05/0.4434, allocations: 162.5 kB / 0.5857 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.4435, allocations: 9.172 kB / 0.5857 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.4435, allocations: 2.219 kB / 0.5857 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.4436, allocations: 45.09 kB / 0.5857 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4436, allocations: 1.344 kB / 0.5857 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4436, allocations: 7.922 kB / 0.5857 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4436, allocations: 1.094 kB / 0.5857 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.231e-05/0.4437, allocations: 19.17 kB / 0.5857 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.4438, allocations: 153.7 kB / 0.5859 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.4457, allocations: 273.2 kB / 0.5861 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.4458, allocations: 19.05 kB / 0.5862 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.4458, allocations: 5.062 kB / 0.5862 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.4458, allocations: 36.25 kB / 0.5862 GB, free: 2.059 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4458, allocations: 0 / 0.5862 GB, free: 2.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001701/0.446, allocations: 66.02 kB / 0.5863 GB, free: 2.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.446, allocations: 52.19 kB / 0.5863 GB, free: 1.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.014e-05/0.4461, allocations: 95.81 kB / 0.5864 GB, free: 1.848 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.4461, allocations: 26.8 kB / 0.5864 GB, free: 1.816 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.157e-05/0.4461, allocations: 88.25 kB / 0.5865 GB, free: 1.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.4462, allocations: 15.56 kB / 0.5865 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.4462, allocations: 18.98 kB / 0.5865 GB, free: 1.691 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.4462, allocations: 312.2 kB / 0.5868 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.4463, allocations: 5.453 kB / 0.5868 GB, free: 1.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.76e-05/0.4463, allocations: 10.86 kB / 0.5869 GB, free: 1.375 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.564e-05/0.4463, allocations: 28.45 kB / 0.5869 GB, free: 1.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4463, allocations: 0.7812 kB / 0.5869 GB, free: 1.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.745e-05/0.4464, allocations: 51.69 kB / 0.5869 GB, free: 1.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4464, allocations: 6.484 kB / 0.5869 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4465, allocations: 7.938 kB / 0.587 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.4465, allocations: 0 / 0.587 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.4465, allocations: 7.125 kB / 0.587 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4465, allocations: 0 / 0.587 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.4466, allocations: 5.844 kB / 0.587 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.4466, allocations: 1.062 kB / 0.587 GB, free: 1.305 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.897e-05/0.4466, allocations: 110.4 kB / 0.5871 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.4467, allocations: 1 kB / 0.5871 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.4467, allocations: 16.14 kB / 0.5871 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4467, allocations: 4.812 kB / 0.5871 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4467, allocations: 5.328 kB / 0.5871 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4467, allocations: 0 / 0.5871 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.195e-05/0.4468, allocations: 158.6 kB / 0.5872 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4468, allocations: 5.125 kB / 0.5873 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.4469, allocations: 5.234 kB / 0.5873 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4469, allocations: 1.906 kB / 0.5873 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.4469, allocations: 3.938 kB / 0.5873 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4469, allocations: 0.875 kB / 0.5873 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4469, allocations: 0.7031 kB / 0.5873 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.305e-05/0.447, allocations: 86.36 kB / 0.5873 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.447, allocations: 79.72 kB / 0.5874 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.4471, allocations: 6.422 kB / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.233e-05/0.4471, allocations: 1.438 kB / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.4471, allocations: 2.078 kB / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.4471, allocations: 5.656 kB / 0.5874 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.871e-05/0.4472, allocations: 84.56 kB / 0.5875 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4472, allocations: 0 / 0.5875 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001862/0.4474, allocations: 6.469 kB / 0.5875 GB, free: 0.6953 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.0001015/0.4475, allocations: 96.03 kB / 0.5876 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.664e-05/0.4476, allocations: 24.78 kB / 0.5876 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4476, allocations: 0.5938 kB / 0.5876 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.4476, allocations: 14.2 kB / 0.5877 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.4479, allocations: 11.05 kB / 0.5877 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.4481, allocations: 146.6 kB / 0.5878 GB, free: 472 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.4483, allocations: 0.6794 MB / 0.5885 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.039e-05/0.4484, allocations: 6.391 kB / 0.5885 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.4484, allocations: 9.062 kB / 0.5885 GB, free: 15.75 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4484, allocations: 0 / 0.5885 GB, free: 15.75 MB / 446.1 MB Notification: Performance of Templates: time 0.002612/0.451, allocations: 488.6 kB / 0.5889 GB, free: 15.69 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)