Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001113/0.001113, allocations: 110 kB / 16.37 MB, free: 6.469 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.001164/0.001164, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8565/0.8565, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 55.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3605, allocations: 80.18 MB / 0.5815 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002502/0.363, allocations: 1.674 MB / 0.5831 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005934/0.3636, allocations: 397.5 kB / 0.5835 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.3637, allocations: 2.406 kB / 0.5835 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.538e-05/0.3638, allocations: 17.23 kB / 0.5835 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.3639, allocations: 20.33 kB / 0.5835 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.3643, allocations: 116.2 kB / 0.5836 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.3644, allocations: 114 kB / 0.5838 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.3646, allocations: 40.09 kB / 0.5838 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.084e-05/0.3646, allocations: 38.45 kB / 0.5838 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.65e-05/0.3647, allocations: 43.97 kB / 0.5839 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.3647, allocations: 8.156 kB / 0.5839 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3649, allocations: 64.22 kB / 0.5839 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.3649, allocations: 24.62 kB / 0.584 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.3649, allocations: 50.05 kB / 0.584 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.3651, allocations: 133 kB / 0.5841 GB, free: 25.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3651, allocations: 1.094 kB / 0.5841 GB, free: 25.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3651, allocations: 0 / 0.5841 GB, free: 25.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3652, allocations: 0 / 0.5841 GB, free: 25.8 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.0004865/0.3656, allocations: 423 kB / 0.5845 GB, free: 25.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3657, allocations: 9.156 kB / 0.5846 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.3659, allocations: 30.88 kB / 0.5846 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.3661, allocations: 192 kB / 0.5848 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.763e-05/0.3662, allocations: 35.3 kB / 0.5848 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.3662, allocations: 9.688 kB / 0.5848 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.3664, allocations: 110.5 kB / 0.5849 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3664, allocations: 4.781 kB / 0.5849 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3664, allocations: 1.25 kB / 0.5849 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3665, allocations: 6.641 kB / 0.5849 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.3667, allocations: 79.72 kB / 0.585 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.3673, allocations: 385.8 kB / 0.5854 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.3677, allocations: 128.5 kB / 0.5855 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3679, allocations: 44.98 kB / 0.5855 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3679, allocations: 2.188 kB / 0.5855 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.3679, allocations: 32.41 kB / 0.5856 GB, free: 24.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.3679, allocations: 1.438 kB / 0.5856 GB, free: 24.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003722/0.3683, allocations: 132.9 kB / 0.5857 GB, free: 24.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.3683, allocations: 56.47 kB / 0.5858 GB, free: 24.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.3684, allocations: 144.8 kB / 0.5859 GB, free: 24.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.3684, allocations: 30.86 kB / 0.5859 GB, free: 24.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.3685, allocations: 99.86 kB / 0.586 GB, free: 24.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.3685, allocations: 33.62 kB / 0.586 GB, free: 24.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.3685, allocations: 18.41 kB / 0.5861 GB, free: 24.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.3686, allocations: 321.5 kB / 0.5864 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-05/0.3687, allocations: 22.95 kB / 0.5864 GB, free: 23.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.256e-05/0.3688, allocations: 49.25 kB / 0.5864 GB, free: 23.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.369, allocations: 79.48 kB / 0.5865 GB, free: 23.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.369, allocations: 1.031 kB / 0.5865 GB, free: 23.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002429/0.3692, allocations: 116.2 kB / 0.5866 GB, free: 23.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3692, allocations: 6.969 kB / 0.5866 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3692, allocations: 0 / 0.5866 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3693, allocations: 1 kB / 0.5866 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3694, allocations: 24.77 kB / 0.5867 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3694, allocations: 1.312 kB / 0.5867 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.3695, allocations: 15.89 kB / 0.5867 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3695, allocations: 2.219 kB / 0.5867 GB, free: 23.54 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.3695, allocations: 113.6 kB / 0.5868 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.3696, allocations: 8.969 kB / 0.5868 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.3696, allocations: 14.69 kB / 0.5868 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3696, allocations: 5.688 kB / 0.5868 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3696, allocations: 5.234 kB / 0.5868 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3696, allocations: 0.5 kB / 0.5868 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.3698, allocations: 202.6 kB / 0.587 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3698, allocations: 0 / 0.587 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/0.3699, allocations: 23.58 kB / 0.587 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3699, allocations: 1.219 kB / 0.587 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3699, allocations: 1.062 kB / 0.587 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.3699, allocations: 5.094 kB / 0.587 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3699, allocations: 0 / 0.587 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.3702, allocations: 202.5 kB / 0.5872 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.3702, allocations: 86.36 kB / 0.5873 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.3702, allocations: 6.625 kB / 0.5873 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3704, allocations: 14.05 kB / 0.5873 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.3704, allocations: 8.891 kB / 0.5873 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.3704, allocations: 2.562 kB / 0.5873 GB, free: 22.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.705e-05/0.3705, allocations: 103.9 kB / 0.5874 GB, free: 22.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.3705, allocations: 2.75 kB / 0.5874 GB, free: 22.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.3707, allocations: 24.53 kB / 0.5875 GB, free: 22.77 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 8.499e-05/0.3708, allocations: 99.8 kB / 0.5876 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.3711, allocations: 74.98 kB / 0.5876 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3711, allocations: 1.562 kB / 0.5876 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.64e-05/0.3712, allocations: 41.75 kB / 0.5877 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.3715, allocations: 20.89 kB / 0.5877 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.372, allocations: 207.7 kB / 0.5879 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.3722, allocations: 0.6927 MB / 0.5886 GB, free: 21.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.553e-05/0.3723, allocations: 13.41 kB / 0.5886 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.3723, allocations: 11.69 kB / 0.5886 GB, free: 21.74 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3723, allocations: 0.8438 kB / 0.5886 GB, free: 21.74 MB / 446.1 MB Notification: Performance of Templates: time 0.003963/0.3763, allocations: 1.445 MB / 0.59 GB, free: 21.06 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)