Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 102.8 kB / 16.35 MB, free: 5.828 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.001322/0.001322, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7753/0.7753, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3659, allocations: 80.91 MB / 0.5857 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002594/0.3685, allocations: 1.665 MB / 0.5874 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000571/0.3691, allocations: 399.3 kB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.3692, allocations: 5.844 kB / 0.5878 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.767e-05/0.3693, allocations: 7.875 kB / 0.5878 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.3694, allocations: 24.06 kB / 0.5878 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.3697, allocations: 117.9 kB / 0.5879 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.3698, allocations: 113.2 kB / 0.588 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3699, allocations: 39.03 kB / 0.588 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.37, allocations: 42.84 kB / 0.5881 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.3701, allocations: 40.94 kB / 0.5881 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3701, allocations: 11.2 kB / 0.5881 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3702, allocations: 60.77 kB / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.3702, allocations: 20.05 kB / 0.5882 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.3703, allocations: 46.89 kB / 0.5883 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.3705, allocations: 139.5 kB / 0.5884 GB, free: 23.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3705, allocations: 0 / 0.5884 GB, free: 23.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3705, allocations: 0.9062 kB / 0.5884 GB, free: 23.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3705, allocations: 1.312 kB / 0.5884 GB, free: 23.53 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004589/0.371, allocations: 422.3 kB / 0.5888 GB, free: 23.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.371, allocations: 11.77 kB / 0.5888 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.3712, allocations: 30.89 kB / 0.5888 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.3714, allocations: 190.5 kB / 0.589 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.653e-05/0.3715, allocations: 35.81 kB / 0.5891 GB, free: 22.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3715, allocations: 10.28 kB / 0.5891 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.3717, allocations: 105 kB / 0.5892 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3718, allocations: 5.281 kB / 0.5892 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3718, allocations: 0 / 0.5892 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3718, allocations: 6.969 kB / 0.5892 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.372, allocations: 86.81 kB / 0.5893 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.3726, allocations: 390.1 kB / 0.5896 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004569/0.373, allocations: 132.8 kB / 0.5898 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.3731, allocations: 36.88 kB / 0.5898 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3732, allocations: 4 kB / 0.5898 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.3732, allocations: 31.69 kB / 0.5898 GB, free: 22.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3732, allocations: 0 / 0.5898 GB, free: 22.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003678/0.3736, allocations: 141.9 kB / 0.59 GB, free: 22.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.3736, allocations: 51.41 kB / 0.59 GB, free: 21.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.3737, allocations: 143.8 kB / 0.5902 GB, free: 21.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3737, allocations: 25.7 kB / 0.5902 GB, free: 21.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.3737, allocations: 108.1 kB / 0.5903 GB, free: 21.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.3737, allocations: 27.64 kB / 0.5903 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.3738, allocations: 17.72 kB / 0.5903 GB, free: 21.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.208e-05/0.3738, allocations: 323.4 kB / 0.5906 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.3739, allocations: 33.78 kB / 0.5907 GB, free: 21.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.383e-05/0.374, allocations: 42.62 kB / 0.5907 GB, free: 21.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3742, allocations: 78.72 kB / 0.5908 GB, free: 21.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3742, allocations: 0.5312 kB / 0.5908 GB, free: 21.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002128/0.3744, allocations: 112 kB / 0.5909 GB, free: 21.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.3745, allocations: 4 kB / 0.5909 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3745, allocations: 3.984 kB / 0.5909 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3745, allocations: 0 / 0.5909 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3746, allocations: 27.92 kB / 0.5909 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3746, allocations: 0.5938 kB / 0.5909 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.3747, allocations: 5.719 kB / 0.5909 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3747, allocations: 4 kB / 0.5909 GB, free: 21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.649e-05/0.3747, allocations: 113.8 kB / 0.591 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3748, allocations: 13.39 kB / 0.5911 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.3748, allocations: 12.72 kB / 0.5911 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3748, allocations: 7.938 kB / 0.5911 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3749, allocations: 0 / 0.5911 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3749, allocations: 1.219 kB / 0.5911 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.375, allocations: 201.5 kB / 0.5913 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.375, allocations: 0 / 0.5913 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.3751, allocations: 24.92 kB / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3751, allocations: 0 / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3752, allocations: 1.125 kB / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3752, allocations: 3.938 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3752, allocations: 0 / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.3754, allocations: 197.1 kB / 0.5915 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.3754, allocations: 97.8 kB / 0.5916 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3755, allocations: 7.969 kB / 0.5916 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.3756, allocations: 20.92 kB / 0.5916 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.3756, allocations: 0 / 0.5916 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3757, allocations: 4.531 kB / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.159e-05/0.3757, allocations: 119.4 kB / 0.5917 GB, free: 20.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3757, allocations: 0 / 0.5917 GB, free: 20.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.376, allocations: 16 kB / 0.5917 GB, free: 20.09 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 (7): * Single equations (assignments): 7 * 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 7.836e-05/0.376, allocations: 103.6 kB / 0.5918 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.3763, allocations: 76.56 kB / 0.5919 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3763, allocations: 0 / 0.5919 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.3764, allocations: 39.91 kB / 0.5919 GB, free: 19.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.3767, allocations: 27.69 kB / 0.592 GB, free: 19.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.3771, allocations: 204.7 kB / 0.5922 GB, free: 19.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.3772, allocations: 0.6982 MB / 0.5928 GB, free: 18.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.3772, allocations: 11.58 kB / 0.5929 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.3773, allocations: 11.44 kB / 0.5929 GB, free: 18.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3773, allocations: 0 / 0.5929 GB, free: 18.88 MB / 446.1 MB Notification: Performance of Templates: time 0.003345/0.3806, allocations: 1.439 MB / 0.5943 GB, free: 17.5 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)