Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007626/0.007626, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001835/0.001835, allocations: 201.8 kB / 16.68 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.035/1.035, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.89 kB / 0.5862 GB, free: 2.727 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4517, allocations: 81.02 MB / 0.6653 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002991/0.4547, allocations: 1.493 MB / 0.6668 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000397/0.4551, allocations: 130.5 kB / 0.6669 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.4552, allocations: 1.25 kB / 0.6669 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.4553, allocations: 3.938 kB / 0.6669 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.4554, allocations: 5.188 kB / 0.6669 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.4557, allocations: 74.8 kB / 0.667 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.4558, allocations: 61.78 kB / 0.6671 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.456, allocations: 14.7 kB / 0.6671 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.456, allocations: 28.14 kB / 0.6671 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.4561, allocations: 25.23 kB / 0.6671 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.4561, allocations: 5.375 kB / 0.6671 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.151e-05/0.4562, allocations: 5.625 kB / 0.6671 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.4562, allocations: 18.02 kB / 0.6672 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.4562, allocations: 21.09 kB / 0.6672 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.4564, allocations: 59.33 kB / 0.6672 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4564, allocations: 1.188 kB / 0.6672 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4564, allocations: 0 / 0.6672 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.4564, allocations: 0 / 0.6672 GB, free: 5.832 MB / 0.4981 GB 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.0005284/0.4569, allocations: 375 kB / 0.6676 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.457, allocations: 9.844 kB / 0.6676 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.4571, allocations: 3.469 kB / 0.6676 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.4572, allocations: 182.8 kB / 0.6678 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-05/0.4572, allocations: 30.17 kB / 0.6678 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.4573, allocations: 2.594 kB / 0.6678 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.4575, allocations: 77.61 kB / 0.6679 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4575, allocations: 3.938 kB / 0.6679 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.4575, allocations: 1.156 kB / 0.6679 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4575, allocations: 1.375 kB / 0.6679 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.4577, allocations: 56.86 kB / 0.6679 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.4583, allocations: 317.3 kB / 0.6682 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.4584, allocations: 49.67 kB / 0.6683 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-05/0.4585, allocations: 39.3 kB / 0.6683 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.4585, allocations: 1.062 kB / 0.6683 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4586, allocations: 32.19 kB / 0.6684 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4586, allocations: 0 / 0.6684 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003583/0.4589, allocations: 101.2 kB / 0.6685 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.459, allocations: 55.41 kB / 0.6685 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.676e-05/0.4591, allocations: 112.8 kB / 0.6686 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.4591, allocations: 25.7 kB / 0.6686 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.4591, allocations: 98.77 kB / 0.6687 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.4591, allocations: 9.062 kB / 0.6687 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.4592, allocations: 17.84 kB / 0.6688 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.4592, allocations: 324.2 kB / 0.6691 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.4593, allocations: 15.39 kB / 0.6691 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.4594, allocations: 42.78 kB / 0.6691 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.4596, allocations: 54.78 kB / 0.6692 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4596, allocations: 0 / 0.6692 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002062/0.4598, allocations: 86.38 kB / 0.6693 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4598, allocations: 5.219 kB / 0.6693 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4598, allocations: 1.406 kB / 0.6693 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4599, allocations: 1.375 kB / 0.6693 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.46, allocations: 17.48 kB / 0.6693 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.46, allocations: 0 / 0.6693 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.46, allocations: 13.41 kB / 0.6693 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.4601, allocations: 1.312 kB / 0.6693 GB, free: 3.805 MB / 0.4981 GB 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.785e-05/0.4601, allocations: 120.1 kB / 0.6694 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.4601, allocations: 2.844 kB / 0.6694 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.4602, allocations: 7.906 kB / 0.6694 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.4602, allocations: 1.406 kB / 0.6694 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4602, allocations: 3.984 kB / 0.6694 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4602, allocations: 1.406 kB / 0.6694 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.4603, allocations: 170.5 kB / 0.6696 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4603, allocations: 5.484 kB / 0.6696 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.37e-05/0.4604, allocations: 8.438 kB / 0.6696 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4604, allocations: 0 / 0.6696 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.4604, allocations: 4 kB / 0.6696 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4604, allocations: 5.594 kB / 0.6696 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4604, allocations: 3.938 kB / 0.6696 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.4607, allocations: 189.9 kB / 0.6698 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.4607, allocations: 82.36 kB / 0.6699 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.4607, allocations: 1.094 kB / 0.6699 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.4608, allocations: 13.58 kB / 0.6699 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.4609, allocations: 2.281 kB / 0.6699 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.4609, allocations: 10.33 kB / 0.6699 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.057e-05/0.4609, allocations: 81.72 kB / 0.67 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4609, allocations: 0 / 0.67 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002249/0.4612, allocations: 10.97 kB / 0.67 GB, free: 3.078 MB / 0.4981 GB 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.0001007/0.4613, allocations: 103.2 kB / 0.6701 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.4615, allocations: 61.83 kB / 0.6702 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4615, allocations: 0 / 0.6702 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.653e-05/0.4616, allocations: 22.48 kB / 0.6702 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.4619, allocations: 4.094 kB / 0.6702 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.4622, allocations: 136.4 kB / 0.6703 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.4623, allocations: 0.6844 MB / 0.671 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.4624, allocations: 4.812 kB / 0.671 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.4624, allocations: 12.72 kB / 0.671 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4624, allocations: 1.312 kB / 0.671 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of Templates: time 0.003123/0.4655, allocations: 0.8014 MB / 0.6718 GB, free: 1.688 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)