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.001084/0.001084, allocations: 104.8 kB / 16.37 MB, free: 6.422 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.001093/0.001093, allocations: 195.8 kB / 17.31 MB, free: 5.801 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8207/0.8207, allocations: 132.2 MB / 423.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 55.91 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4096, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002753/0.4124, allocations: 1.502 MB / 0.583 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003106/0.4128, allocations: 130.1 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.4128, allocations: 1.25 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.4129, allocations: 7.922 kB / 0.5831 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-05/0.4129, allocations: 6.125 kB / 0.5831 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.4133, allocations: 72.64 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.4134, allocations: 56.88 kB / 0.5832 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.4135, allocations: 24.09 kB / 0.5832 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.061e-05/0.4136, allocations: 28.91 kB / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.4137, allocations: 24.83 kB / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.4137, allocations: 5.906 kB / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.4137, allocations: 5.312 kB / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.4137, allocations: 14.92 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.4138, allocations: 22.8 kB / 0.5833 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.4139, allocations: 57.67 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.4139, allocations: 3.984 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4139, allocations: 2.312 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4139, allocations: 0 / 0.5834 GB, free: 26.14 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.0004681/0.4144, allocations: 373.1 kB / 0.5838 GB, free: 25.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4144, allocations: 10.38 kB / 0.5838 GB, free: 25.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.4145, allocations: 4.531 kB / 0.5838 GB, free: 25.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.121e-05/0.4146, allocations: 174.7 kB / 0.5839 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/0.4147, allocations: 34.39 kB / 0.584 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.4147, allocations: 3.375 kB / 0.584 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.4149, allocations: 75.36 kB / 0.584 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.4149, allocations: 3.938 kB / 0.584 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.4149, allocations: 12.38 kB / 0.5841 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4149, allocations: 1.312 kB / 0.5841 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.4151, allocations: 44.23 kB / 0.5841 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.4156, allocations: 311.2 kB / 0.5844 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.4157, allocations: 53.77 kB / 0.5845 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.4158, allocations: 29.09 kB / 0.5845 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.4158, allocations: 1.438 kB / 0.5845 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4159, allocations: 35.69 kB / 0.5845 GB, free: 25.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.4159, allocations: 0 / 0.5845 GB, free: 25.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003161/0.4162, allocations: 104.3 kB / 0.5846 GB, free: 24.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.4162, allocations: 52.34 kB / 0.5847 GB, free: 24.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.4163, allocations: 107.8 kB / 0.5848 GB, free: 24.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.4163, allocations: 28.36 kB / 0.5848 GB, free: 24.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.4164, allocations: 88.55 kB / 0.5849 GB, free: 24.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.4164, allocations: 26.92 kB / 0.5849 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.4164, allocations: 14.84 kB / 0.5849 GB, free: 24.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.4165, allocations: 323.1 kB / 0.5852 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.4166, allocations: 21.03 kB / 0.5852 GB, free: 24.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.4166, allocations: 34.3 kB / 0.5853 GB, free: 24.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.4168, allocations: 54.61 kB / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4168, allocations: 0.7188 kB / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002047/0.417, allocations: 86.73 kB / 0.5854 GB, free: 24.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.417, allocations: 8.438 kB / 0.5854 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.417, allocations: 1.688 kB / 0.5854 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4171, allocations: 1.281 kB / 0.5854 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4172, allocations: 21.59 kB / 0.5854 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4172, allocations: 1.562 kB / 0.5854 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.4172, allocations: 9.297 kB / 0.5855 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4172, allocations: 1.688 kB / 0.5855 GB, free: 24.15 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.875e-05/0.4173, allocations: 121.8 kB / 0.5856 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.4173, allocations: 6.062 kB / 0.5856 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.4174, allocations: 9.031 kB / 0.5856 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.4174, allocations: 2.625 kB / 0.5856 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4174, allocations: 4.125 kB / 0.5856 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4174, allocations: 1.188 kB / 0.5856 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.4175, allocations: 175.6 kB / 0.5858 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4175, allocations: 0.6875 kB / 0.5858 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.37e-05/0.4176, allocations: 11.95 kB / 0.5858 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4176, allocations: 2.594 kB / 0.5858 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.4176, allocations: 1.031 kB / 0.5858 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4176, allocations: 0 / 0.5858 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4176, allocations: 1.25 kB / 0.5858 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.4179, allocations: 175.2 kB / 0.5859 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.4179, allocations: 86.06 kB / 0.586 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.4179, allocations: 2.094 kB / 0.586 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.4181, allocations: 18.67 kB / 0.586 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.4181, allocations: 7.219 kB / 0.5861 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.4181, allocations: 0.8438 kB / 0.5861 GB, free: 23.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.983e-05/0.4182, allocations: 99.19 kB / 0.5862 GB, free: 23.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4182, allocations: 1.156 kB / 0.5862 GB, free: 23.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.4184, allocations: 7.844 kB / 0.5862 GB, free: 23.43 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 0.0001037/0.4185, allocations: 94.66 kB / 0.5863 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.4187, allocations: 55.45 kB / 0.5863 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4187, allocations: 0 / 0.5863 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.688e-05/0.4188, allocations: 31.34 kB / 0.5863 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.4192, allocations: 8.438 kB / 0.5863 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.4195, allocations: 135.1 kB / 0.5865 GB, free: 23.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.4197, allocations: 0.6854 MB / 0.5871 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.168e-05/0.4197, allocations: 6.469 kB / 0.5871 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.4198, allocations: 10.16 kB / 0.5872 GB, free: 22.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4198, allocations: 0 / 0.5872 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Templates: time 0.003416/0.4232, allocations: 0.7959 MB / 0.5879 GB, free: 22.07 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)