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.0059/0.0059, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.001272/0.001272, allocations: 189 kB / 16.67 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 63.89 kB / 0.5856 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4926, allocations: 80.92 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002318/0.495, allocations: 1.486 MB / 0.6661 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.4953, allocations: 134.7 kB / 0.6662 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.4953, allocations: 0 / 0.6662 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.4954, allocations: 9.203 kB / 0.6662 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.615e-05/0.4954, allocations: 3.938 kB / 0.6662 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.4958, allocations: 68.86 kB / 0.6663 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.4959, allocations: 64.73 kB / 0.6663 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.496, allocations: 16.2 kB / 0.6664 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.664e-05/0.496, allocations: 31.64 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.4961, allocations: 17.45 kB / 0.6664 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.4961, allocations: 5.312 kB / 0.6664 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.4962, allocations: 5.344 kB / 0.6664 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.4962, allocations: 21.31 kB / 0.6664 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.4962, allocations: 26.61 kB / 0.6665 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.749e-05/0.4963, allocations: 45.08 kB / 0.6665 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4963, allocations: 4 kB / 0.6665 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4963, allocations: 1.469 kB / 0.6665 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4963, allocations: 0 / 0.6665 GB, free: 6.117 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.0004126/0.4968, allocations: 378 kB / 0.6669 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4968, allocations: 9.812 kB / 0.6669 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.4968, allocations: 8.219 kB / 0.6669 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.712e-05/0.4969, allocations: 176.7 kB / 0.6671 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.4969, allocations: 28.95 kB / 0.6671 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.497, allocations: 4.062 kB / 0.6671 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.4971, allocations: 77.38 kB / 0.6672 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.4972, allocations: 3.938 kB / 0.6672 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4972, allocations: 9.25 kB / 0.6672 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-06/0.4972, allocations: 0 / 0.6672 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.4974, allocations: 45.8 kB / 0.6672 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.4979, allocations: 325.5 kB / 0.6675 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.498, allocations: 49.83 kB / 0.6676 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.4981, allocations: 27.59 kB / 0.6676 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.4982, allocations: 0 / 0.6676 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.4982, allocations: 31.88 kB / 0.6676 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.4982, allocations: 3.984 kB / 0.6676 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003667/0.4986, allocations: 105.2 kB / 0.6677 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.4986, allocations: 52.19 kB / 0.6678 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.4987, allocations: 116 kB / 0.6679 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.4987, allocations: 27.05 kB / 0.6679 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.4987, allocations: 89.48 kB / 0.668 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.4987, allocations: 17.2 kB / 0.668 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.4988, allocations: 21.97 kB / 0.668 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.4988, allocations: 316.1 kB / 0.6684 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.4989, allocations: 23.81 kB / 0.6684 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.499, allocations: 35.58 kB / 0.6684 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.4992, allocations: 62.08 kB / 0.6685 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4992, allocations: 0 / 0.6685 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000206/0.4994, allocations: 83.56 kB / 0.6685 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4994, allocations: 7.062 kB / 0.6686 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4994, allocations: 0 / 0.6686 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4995, allocations: 5.656 kB / 0.6686 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.4996, allocations: 14.05 kB / 0.6686 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4996, allocations: 4.031 kB / 0.6686 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/0.4996, allocations: 9.438 kB / 0.6686 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4996, allocations: 5.016 kB / 0.6686 GB, free: 4.086 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.955e-05/0.4997, allocations: 116.3 kB / 0.6687 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.4997, allocations: 7 kB / 0.6687 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.4998, allocations: 3.906 kB / 0.6687 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4998, allocations: 1.188 kB / 0.6687 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4998, allocations: 0 / 0.6687 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4998, allocations: 1.938 kB / 0.6687 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.4999, allocations: 182.8 kB / 0.6689 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4999, allocations: 3.938 kB / 0.6689 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.5, allocations: 12.05 kB / 0.6689 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5, allocations: 1.406 kB / 0.6689 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.5, allocations: 0 / 0.6689 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5, allocations: 0 / 0.6689 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5, allocations: 1.062 kB / 0.6689 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.5003, allocations: 189 kB / 0.6691 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.5003, allocations: 78.42 kB / 0.6692 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.5003, allocations: 5.109 kB / 0.6692 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.5004, allocations: 10.3 kB / 0.6692 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.5005, allocations: 1.594 kB / 0.6692 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.5005, allocations: 2.844 kB / 0.6692 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.5005, allocations: 89.67 kB / 0.6693 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5005, allocations: 0 / 0.6693 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002254/0.5008, allocations: 16.25 kB / 0.6693 GB, free: 3.363 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.0001015/0.5009, allocations: 95.55 kB / 0.6694 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.5011, allocations: 56.86 kB / 0.6694 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5011, allocations: 1.438 kB / 0.6694 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.5012, allocations: 27.5 kB / 0.6695 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.5015, allocations: 7.062 kB / 0.6695 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.5018, allocations: 134.1 kB / 0.6696 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.5019, allocations: 0.6843 MB / 0.6703 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.502, allocations: 8.672 kB / 0.6703 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.502, allocations: 12.88 kB / 0.6703 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.502, allocations: 4 kB / 0.6703 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of Templates: time 0.00285/0.5049, allocations: 0.8136 MB / 0.6711 GB, free: 1.965 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)