Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0009299/0.00093, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0009751/0.0009752, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.411/0.411, allocations: 54.98 MB / 325.4 MB, free: 0.7031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006079/0.000608, allocations: 12 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3686, allocations: 60.72 MB / 457.3 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002095/0.3707, allocations: 1.18 MB / 458.5 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000346/0.3711, allocations: 104.9 kB / 458.6 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.3712, allocations: 4.156 kB / 458.6 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.3712, allocations: 7.359 kB / 458.6 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.3713, allocations: 8 kB / 458.6 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.3717, allocations: 60.98 kB / 458.7 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3718, allocations: 34.39 kB / 458.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.372, allocations: 16.02 kB / 458.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.372, allocations: 15.94 kB / 458.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.3721, allocations: 21.52 kB / 458.8 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.3722, allocations: 3.031 kB / 458.8 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.623e-05/0.3722, allocations: 3.281 kB / 458.8 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.3722, allocations: 12.56 kB / 458.8 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.3723, allocations: 29.98 kB / 458.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.778e-05/0.3724, allocations: 35.66 kB / 458.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3724, allocations: 0 / 458.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.3724, allocations: 2.688 kB / 458.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3724, allocations: 2.625 kB / 458.8 MB, free: 38.54 MB / 382.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.0005344/0.3729, allocations: 370.3 kB / 459.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.373, allocations: 11.66 kB / 459.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.3731, allocations: 6.781 kB / 459.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3732, allocations: 179.6 kB / 459.4 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.811e-05/0.3733, allocations: 28.52 kB / 459.4 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3733, allocations: 2.906 kB / 459.4 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.3736, allocations: 81.22 kB / 459.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3736, allocations: 0 / 459.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.3736, allocations: 5.469 kB / 459.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3737, allocations: 0 / 459.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.3739, allocations: 61.81 kB / 459.6 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007104/0.3746, allocations: 323.9 kB / 459.9 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.3748, allocations: 51.83 kB / 459.9 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.3748, allocations: 1.375 kB / 459.9 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3749, allocations: 42.02 kB / 460 MB, free: 37.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.3749, allocations: 1.312 kB / 460 MB, free: 37.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004948/0.3754, allocations: 117.8 kB / 460.1 MB, free: 37.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.3754, allocations: 56.88 kB / 460.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.3755, allocations: 105.9 kB / 460.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3755, allocations: 25.7 kB / 460.3 MB, free: 37.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.3756, allocations: 87.45 kB / 460.4 MB, free: 37.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.3756, allocations: 17.69 kB / 460.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.3756, allocations: 5.219 kB / 460.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.3757, allocations: 316 kB / 460.7 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3758, allocations: 28.42 kB / 460.7 MB, free: 36.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.376, allocations: 47.75 kB / 460.8 MB, free: 36.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.3761, allocations: 31.47 kB / 460.8 MB, free: 36.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3761, allocations: 0 / 460.8 MB, free: 36.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002815/0.3764, allocations: 96.62 kB / 460.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3764, allocations: 8.516 kB / 460.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3764, allocations: 3.25 kB / 460.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3765, allocations: 2.281 kB / 460.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.3766, allocations: 20.34 kB / 460.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3766, allocations: 2.625 kB / 460.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.291e-05/0.3767, allocations: 9.516 kB / 460.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3767, allocations: 8.312 kB / 461 MB, free: 36.88 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.3768, allocations: 109 kB / 461.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.3768, allocations: 4.031 kB / 461.1 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.3769, allocations: 14.39 kB / 461.1 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3769, allocations: 0 / 461.1 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3769, allocations: 5.141 kB / 461.1 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3769, allocations: 3.422 kB / 461.1 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.3771, allocations: 180.5 kB / 461.3 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3771, allocations: 0 / 461.3 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.3772, allocations: 18.09 kB / 461.3 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3772, allocations: 0 / 461.3 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.3773, allocations: 0 / 461.3 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3773, allocations: 10.86 kB / 461.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3773, allocations: 1.062 kB / 461.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.3776, allocations: 180.5 kB / 461.5 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.3776, allocations: 84.92 kB / 461.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.3776, allocations: 2.969 kB / 461.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3778, allocations: 15.38 kB / 461.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.3779, allocations: 7.859 kB / 461.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.3779, allocations: 4.828 kB / 461.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.418e-05/0.3779, allocations: 85.53 kB / 461.7 MB, free: 36.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3779, allocations: 0 / 461.7 MB, free: 36.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.3783, allocations: 16.59 kB / 461.7 MB, free: 36.24 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.854e-05/0.3784, allocations: 97.53 kB / 461.8 MB, free: 36.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.3787, allocations: 63.97 kB / 461.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3787, allocations: 64 / 461.8 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3788, allocations: 34.92 kB / 461.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3791, allocations: 7.938 kB / 461.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.3795, allocations: 148 kB / 462 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3796, allocations: 0.6929 MB / 462.7 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.311e-05/0.3797, allocations: 3.125 kB / 462.7 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.3797, allocations: 12.91 kB / 462.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3797, allocations: 0 / 462.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of Templates: time 0.003525/0.3833, allocations: 0.6778 MB / 463.4 MB, free: 35.27 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) Environment - environmentSimulation: