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.00118/0.00118, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001597/0.001597, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7842/0.7842, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 8.281 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4601, allocations: 81.58 MB / 0.5837 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001692/0.4618, allocations: 1.214 MB / 0.5849 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.4621, allocations: 135 kB / 0.585 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.4622, allocations: 1.094 kB / 0.585 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.4622, allocations: 5.203 kB / 0.585 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.4623, allocations: 3.375 kB / 0.585 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.4626, allocations: 68.61 kB / 0.5851 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.4628, allocations: 52.73 kB / 0.5851 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.4629, allocations: 20.52 kB / 0.5851 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.273e-05/0.463, allocations: 25.81 kB / 0.5851 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.946e-05/0.463, allocations: 23.02 kB / 0.5852 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.4631, allocations: 1.969 kB / 0.5852 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.4631, allocations: 2.75 kB / 0.5852 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.4631, allocations: 9.5 kB / 0.5852 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.4632, allocations: 47.84 kB / 0.5852 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.4633, allocations: 43.84 kB / 0.5853 GB, free: 3.164 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4633, allocations: 2.625 kB / 0.5853 GB, free: 3.164 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4633, allocations: 0 / 0.5853 GB, free: 3.164 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.4633, allocations: 0 / 0.5853 GB, free: 3.164 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.0004898/0.4638, allocations: 375.4 kB / 0.5856 GB, free: 2.789 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4639, allocations: 14 kB / 0.5856 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.4639, allocations: 7.562 kB / 0.5857 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.464, allocations: 176.5 kB / 0.5858 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.191e-05/0.4641, allocations: 31.69 kB / 0.5859 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.4641, allocations: 3.875 kB / 0.5859 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.4644, allocations: 88.33 kB / 0.5859 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.4644, allocations: 3.938 kB / 0.5859 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4644, allocations: 0.9375 kB / 0.5859 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.4644, allocations: 1.219 kB / 0.5859 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.4647, allocations: 58.92 kB / 0.586 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.4653, allocations: 327.6 kB / 0.5863 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.4655, allocations: 57.89 kB / 0.5864 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.4656, allocations: 33.86 kB / 0.5864 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.4656, allocations: 0 / 0.5864 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.4657, allocations: 36.22 kB / 0.5864 GB, free: 2.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4657, allocations: 1.25 kB / 0.5864 GB, free: 2.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004283/0.4661, allocations: 116.8 kB / 0.5865 GB, free: 2.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.4661, allocations: 56.22 kB / 0.5866 GB, free: 1.977 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.4662, allocations: 111.2 kB / 0.5867 GB, free: 1.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.4663, allocations: 26.42 kB / 0.5867 GB, free: 1.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.4663, allocations: 88.47 kB / 0.5868 GB, free: 1.754 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.4663, allocations: 14.27 kB / 0.5868 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.4664, allocations: 11.95 kB / 0.5868 GB, free: 1.727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.4664, allocations: 322.8 kB / 0.5872 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.4666, allocations: 29.81 kB / 0.5872 GB, free: 1.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.4667, allocations: 38.2 kB / 0.5872 GB, free: 1.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.4669, allocations: 78.33 kB / 0.5873 GB, free: 1.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4669, allocations: 0 / 0.5873 GB, free: 1.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002632/0.4672, allocations: 97.14 kB / 0.5874 GB, free: 1.293 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4672, allocations: 7.031 kB / 0.5874 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4672, allocations: 1.5 kB / 0.5874 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4672, allocations: 3.938 kB / 0.5874 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.4673, allocations: 16.19 kB / 0.5874 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4674, allocations: 1.875 kB / 0.5874 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.486e-05/0.4674, allocations: 12.28 kB / 0.5874 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4674, allocations: 2.312 kB / 0.5874 GB, free: 1.285 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 7.845e-05/0.4675, allocations: 122.6 kB / 0.5875 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.4676, allocations: 2.25 kB / 0.5875 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.4676, allocations: 9.531 kB / 0.5876 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4676, allocations: 1.422 kB / 0.5876 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.4676, allocations: 0.625 kB / 0.5876 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4676, allocations: 4.594 kB / 0.5876 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.4678, allocations: 178.9 kB / 0.5877 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4678, allocations: 0.8125 kB / 0.5877 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.4679, allocations: 17.84 kB / 0.5877 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4679, allocations: 1.094 kB / 0.5877 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4679, allocations: 0 / 0.5877 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4679, allocations: 1.859 kB / 0.5878 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4679, allocations: 0 / 0.5878 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.4682, allocations: 197.3 kB / 0.5879 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.4683, allocations: 79.08 kB / 0.588 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.4683, allocations: 0 / 0.588 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4684, allocations: 19.5 kB / 0.588 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.4685, allocations: 3.375 kB / 0.588 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.4685, allocations: 2.266 kB / 0.588 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.616e-05/0.4685, allocations: 96.7 kB / 0.5881 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4686, allocations: 0 / 0.5881 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.4688, allocations: 12.03 kB / 0.5881 GB, free: 0.5938 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 0.000126/0.4689, allocations: 94.52 kB / 0.5882 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003098/0.4692, allocations: 71.36 kB / 0.5883 GB, free: 496 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4693, allocations: 0 / 0.5883 GB, free: 496 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.4694, allocations: 29.25 kB / 0.5883 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.4697, allocations: 12.28 kB / 0.5883 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.47, allocations: 155 kB / 0.5885 GB, free: 340 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.4703, allocations: 0.6836 MB / 0.5892 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.514e-05/0.4704, allocations: 7.891 kB / 0.5892 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.4704, allocations: 9.406 kB / 0.5892 GB, free: 15.62 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4704, allocations: 4.781 kB / 0.5892 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Templates: time 0.003494/0.4739, allocations: 0.7005 MB / 0.5899 GB, free: 15.55 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)