Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 105.1 kB / 16.27 MB, free: 6.398 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.001913/0.001913, allocations: 191.8 kB / 17.2 MB, free: 5.969 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.82/0.82, allocations: 132.2 MB / 423.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.358, allocations: 80.19 MB / 0.5807 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002513/0.3605, allocations: 1.5 MB / 0.5822 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003441/0.3609, allocations: 131.3 kB / 0.5823 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.361, allocations: 1.281 kB / 0.5823 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.361, allocations: 3.938 kB / 0.5823 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.3611, allocations: 14.83 kB / 0.5823 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.3614, allocations: 64 kB / 0.5824 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.51e-05/0.3615, allocations: 56.66 kB / 0.5825 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3617, allocations: 20.64 kB / 0.5825 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.838e-05/0.3617, allocations: 28.16 kB / 0.5825 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.3618, allocations: 30.59 kB / 0.5825 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.3618, allocations: 4.875 kB / 0.5825 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.3619, allocations: 5.625 kB / 0.5825 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.3619, allocations: 11.05 kB / 0.5826 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.3619, allocations: 25.45 kB / 0.5826 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.716e-05/0.362, allocations: 49.83 kB / 0.5826 GB, free: 26.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.362, allocations: 1.281 kB / 0.5826 GB, free: 26.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.362, allocations: 0 / 0.5826 GB, free: 26.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.3621, allocations: 0 / 0.5826 GB, free: 26.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004717/0.3625, allocations: 379.7 kB / 0.583 GB, free: 25.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3626, allocations: 12.72 kB / 0.583 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.3626, allocations: 6.062 kB / 0.583 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.207e-05/0.3627, allocations: 178.9 kB / 0.5832 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.3628, allocations: 28.73 kB / 0.5832 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.3628, allocations: 4.781 kB / 0.5832 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.363, allocations: 78.53 kB / 0.5833 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.363, allocations: 3.938 kB / 0.5833 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.363, allocations: 0.6562 kB / 0.5833 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3631, allocations: 1.812 kB / 0.5833 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.3632, allocations: 45.89 kB / 0.5833 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.3638, allocations: 321.4 kB / 0.5836 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3639, allocations: 54.17 kB / 0.5837 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.484e-05/0.364, allocations: 34.14 kB / 0.5837 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.364, allocations: 0 / 0.5837 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.3641, allocations: 31.78 kB / 0.5838 GB, free: 24.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3641, allocations: 0.625 kB / 0.5838 GB, free: 24.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003571/0.3644, allocations: 95.11 kB / 0.5838 GB, free: 24.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.3645, allocations: 52.66 kB / 0.5839 GB, free: 24.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.3645, allocations: 114.9 kB / 0.584 GB, free: 24.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3646, allocations: 35.95 kB / 0.584 GB, free: 24.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.3646, allocations: 90.47 kB / 0.5841 GB, free: 24.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.3646, allocations: 18.22 kB / 0.5841 GB, free: 24.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.3646, allocations: 17.31 kB / 0.5842 GB, free: 24.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.3647, allocations: 322.6 kB / 0.5845 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.3648, allocations: 19.83 kB / 0.5845 GB, free: 24.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.934e-05/0.3649, allocations: 35.72 kB / 0.5845 GB, free: 24.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.3651, allocations: 57.44 kB / 0.5846 GB, free: 24.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3651, allocations: 0 / 0.5846 GB, free: 24.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002033/0.3653, allocations: 82.94 kB / 0.5847 GB, free: 24.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3653, allocations: 5.656 kB / 0.5847 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3653, allocations: 2.188 kB / 0.5847 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3653, allocations: 1.031 kB / 0.5847 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3654, allocations: 14.17 kB / 0.5847 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3654, allocations: 1.281 kB / 0.5847 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.3655, allocations: 12.7 kB / 0.5847 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.3655, allocations: 1.688 kB / 0.5847 GB, free: 24.05 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 (5): * Single equations (assignments): 5 * 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.372e-05/0.3656, allocations: 121 kB / 0.5848 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.3656, allocations: 10.53 kB / 0.5848 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.3656, allocations: 5.844 kB / 0.5848 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3656, allocations: 1.156 kB / 0.5848 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3657, allocations: 4.625 kB / 0.5848 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3657, allocations: 4.484 kB / 0.5848 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.3658, allocations: 181.3 kB / 0.585 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3658, allocations: 0 / 0.585 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.73e-05/0.3659, allocations: 13.2 kB / 0.585 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3659, allocations: 1.344 kB / 0.585 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3659, allocations: 0 / 0.585 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3659, allocations: 2.812 kB / 0.585 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3659, allocations: 0 / 0.585 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.3662, allocations: 186.4 kB / 0.5852 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.3662, allocations: 83.33 kB / 0.5853 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.3662, allocations: 1.281 kB / 0.5853 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3663, allocations: 10.67 kB / 0.5853 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.3664, allocations: 3.219 kB / 0.5853 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3664, allocations: 5.047 kB / 0.5853 GB, free: 23.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.396e-05/0.3665, allocations: 86.84 kB / 0.5854 GB, free: 23.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3665, allocations: 1.156 kB / 0.5854 GB, free: 23.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.3667, allocations: 8.125 kB / 0.5854 GB, free: 23.33 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 (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 9.796e-05/0.3668, allocations: 98.48 kB / 0.5855 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.367, allocations: 62.05 kB / 0.5855 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3671, allocations: 2.188 kB / 0.5855 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.769e-05/0.3672, allocations: 29.98 kB / 0.5856 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.3675, allocations: 5 kB / 0.5856 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.3678, allocations: 163.8 kB / 0.5857 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.3679, allocations: 0.6846 MB / 0.5864 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.3679, allocations: 10.34 kB / 0.5864 GB, free: 22.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3679, allocations: 0 / 0.5864 GB, free: 22.32 MB / 446.1 MB Notification: Performance of Templates: time 0.002347/0.3703, allocations: 0.845 MB / 0.5872 GB, free: 21.93 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)