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.00126/0.00126, 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.001493/0.001493, allocations: 194.7 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7323/0.7323, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 68.44 kB / 0.5018 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4443, allocations: 80.2 MB / 0.5801 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003099/0.4474, allocations: 1.487 MB / 0.5815 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000448/0.4479, allocations: 142.1 kB / 0.5817 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.448, allocations: 4.906 kB / 0.5817 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.448, allocations: 5.531 kB / 0.5817 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.508e-05/0.4481, allocations: 8.781 kB / 0.5817 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.4485, allocations: 67.86 kB / 0.5818 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.4486, allocations: 58.25 kB / 0.5818 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.4488, allocations: 13.86 kB / 0.5818 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.4489, allocations: 26.84 kB / 0.5818 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.449, allocations: 27.8 kB / 0.5819 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.449, allocations: 5.375 kB / 0.5819 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.181e-05/0.449, allocations: 9.094 kB / 0.5819 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.4491, allocations: 17.75 kB / 0.5819 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.4491, allocations: 25.42 kB / 0.5819 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.4493, allocations: 50.78 kB / 0.582 GB, free: 3.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4493, allocations: 0 / 0.582 GB, free: 3.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4493, allocations: 0.75 kB / 0.582 GB, free: 3.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.4493, allocations: 0 / 0.582 GB, free: 3.273 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006314/0.45, allocations: 379.9 kB / 0.5823 GB, free: 2.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.45, allocations: 9.344 kB / 0.5823 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.4501, allocations: 4.344 kB / 0.5824 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.4502, allocations: 173.3 kB / 0.5825 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-05/0.4503, allocations: 33.92 kB / 0.5825 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.4503, allocations: 7.312 kB / 0.5826 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.4506, allocations: 70.03 kB / 0.5826 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4506, allocations: 7.938 kB / 0.5826 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.4506, allocations: 1.438 kB / 0.5826 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4506, allocations: 5.562 kB / 0.5826 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.4508, allocations: 44.53 kB / 0.5827 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.4515, allocations: 326.1 kB / 0.583 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.4517, allocations: 52.64 kB / 0.583 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.4518, allocations: 28.17 kB / 0.5831 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.4518, allocations: 1.422 kB / 0.5831 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.4518, allocations: 32.03 kB / 0.5831 GB, free: 2.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.4518, allocations: 4 kB / 0.5831 GB, free: 2.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003875/0.4522, allocations: 95.56 kB / 0.5832 GB, free: 2.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.4523, allocations: 56.06 kB / 0.5832 GB, free: 2.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.4523, allocations: 107.8 kB / 0.5833 GB, free: 1.992 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.4524, allocations: 26.3 kB / 0.5834 GB, free: 1.961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.4524, allocations: 92.09 kB / 0.5835 GB, free: 1.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.4524, allocations: 10.12 kB / 0.5835 GB, free: 1.863 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.4525, allocations: 26.91 kB / 0.5835 GB, free: 1.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.4525, allocations: 321.4 kB / 0.5838 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.4526, allocations: 22.23 kB / 0.5838 GB, free: 1.512 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-05/0.4527, allocations: 41.44 kB / 0.5839 GB, free: 1.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.4529, allocations: 56.52 kB / 0.5839 GB, free: 1.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.4529, allocations: 0 / 0.5839 GB, free: 1.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000213/0.4531, allocations: 90.73 kB / 0.584 GB, free: 1.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4531, allocations: 8.578 kB / 0.584 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.4531, allocations: 0 / 0.584 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4532, allocations: 1.438 kB / 0.584 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.4533, allocations: 12.78 kB / 0.584 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4533, allocations: 5.625 kB / 0.584 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.4533, allocations: 6.938 kB / 0.584 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.4534, allocations: 2.062 kB / 0.584 GB, free: 1.402 MB / 430.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 6.038e-05/0.4534, allocations: 118 kB / 0.5842 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.4535, allocations: 10 kB / 0.5842 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.4535, allocations: 10.25 kB / 0.5842 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4535, allocations: 4.844 kB / 0.5842 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4535, allocations: 0.6562 kB / 0.5842 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4535, allocations: 5.469 kB / 0.5842 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.4537, allocations: 174 kB / 0.5843 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4537, allocations: 2.422 kB / 0.5844 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.4537, allocations: 10.31 kB / 0.5844 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4537, allocations: 0.7031 kB / 0.5844 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.4538, allocations: 0.9688 kB / 0.5844 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4538, allocations: 0 / 0.5844 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4538, allocations: 1.578 kB / 0.5844 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.454, allocations: 181.9 kB / 0.5845 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.454, allocations: 83.72 kB / 0.5846 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.454, allocations: 1.906 kB / 0.5846 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.4542, allocations: 10.34 kB / 0.5846 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.4542, allocations: 10.33 kB / 0.5846 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.4542, allocations: 3.172 kB / 0.5846 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.069e-05/0.4543, allocations: 84.53 kB / 0.5847 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4543, allocations: 4 kB / 0.5847 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000216/0.4545, allocations: 11.25 kB / 0.5847 GB, free: 0.7148 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 9.587e-05/0.4546, allocations: 96.56 kB / 0.5848 GB, free: 0.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.4549, allocations: 52.88 kB / 0.5849 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4549, allocations: 0 / 0.5849 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.3e-05/0.455, allocations: 29.44 kB / 0.5849 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.4553, allocations: 16.39 kB / 0.5849 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.4556, allocations: 139.5 kB / 0.5851 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.4558, allocations: 0.683 MB / 0.5857 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.007e-05/0.4558, allocations: 9.469 kB / 0.5857 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.4558, allocations: 9 kB / 0.5857 GB, free: 15.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4559, allocations: 0 / 0.5857 GB, free: 15.76 MB / 446.1 MB Notification: Performance of Templates: time 0.002993/0.4588, allocations: 0.7884 MB / 0.5865 GB, free: 15.69 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)