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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001187/0.001187, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 222 MB, free: 4.965 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4294/0.4294, allocations: 54.93 MB / 324.3 MB, free: 15.99 MB / 270.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.001425/0.001425, allocations: 64.47 kB / 394.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1725, allocations: 59.58 MB / 454.2 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.2697/0.4423, allocations: 1.553 MB / 455.8 MB, free: 39.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003485/0.4427, allocations: 123.2 kB / 455.9 MB, free: 39.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.4428, allocations: 0 / 455.9 MB, free: 39.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.4429, allocations: 2.906 kB / 455.9 MB, free: 39.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.4429, allocations: 8.5 kB / 455.9 MB, free: 39.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.4433, allocations: 60.05 kB / 456 MB, free: 39.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.105e-05/0.4434, allocations: 54.44 kB / 456 MB, free: 39.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.4435, allocations: 20.62 kB / 456 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.4436, allocations: 28.38 kB / 456.1 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.4436, allocations: 19.5 kB / 456.1 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.4437, allocations: 7.531 kB / 456.1 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.4437, allocations: 3.438 kB / 456.1 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.4437, allocations: 12.19 kB / 456.1 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.4438, allocations: 28.16 kB / 456.1 MB, free: 39.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.629e-05/0.4439, allocations: 43.94 kB / 456.2 MB, free: 39.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4439, allocations: 2.969 kB / 456.2 MB, free: 39.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4439, allocations: 0 / 456.2 MB, free: 39.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.4439, allocations: 0.5625 kB / 456.2 MB, free: 39.62 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.0004999/0.4444, allocations: 370.2 kB / 456.5 MB, free: 39.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4445, allocations: 11.78 kB / 456.5 MB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.4445, allocations: 9.812 kB / 456.6 MB, free: 39.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.4446, allocations: 177.9 kB / 456.7 MB, free: 39.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.4447, allocations: 31.02 kB / 456.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.4447, allocations: 6.938 kB / 456.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.4449, allocations: 73.11 kB / 456.8 MB, free: 39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4449, allocations: 7.562 kB / 456.8 MB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.445, allocations: 7.5 kB / 456.9 MB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.445, allocations: 0.7188 kB / 456.9 MB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.4452, allocations: 45.73 kB / 456.9 MB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.4457, allocations: 316.9 kB / 457.2 MB, free: 38.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.4459, allocations: 54.5 kB / 457.3 MB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.446, allocations: 29.19 kB / 457.3 MB, free: 38.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.446, allocations: 4.062 kB / 457.3 MB, free: 38.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.446, allocations: 32.19 kB / 457.3 MB, free: 38.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.446, allocations: 0 / 457.3 MB, free: 38.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003466/0.4464, allocations: 99.81 kB / 457.4 MB, free: 38.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.4464, allocations: 51.41 kB / 457.5 MB, free: 38.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.4465, allocations: 113 kB / 457.6 MB, free: 38.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4465, allocations: 25.7 kB / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.4466, allocations: 94.84 kB / 457.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.4466, allocations: 14.34 kB / 457.7 MB, free: 38.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.4466, allocations: 16.88 kB / 457.7 MB, free: 38.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.4467, allocations: 326 kB / 458 MB, free: 38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.4468, allocations: 19.81 kB / 458.1 MB, free: 38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.4469, allocations: 33.7 kB / 458.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.447, allocations: 61.62 kB / 458.2 MB, free: 37.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.447, allocations: 3.031 kB / 458.2 MB, free: 37.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.4472, allocations: 80.2 kB / 458.2 MB, free: 37.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4473, allocations: 12.44 kB / 458.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4473, allocations: 0 / 458.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4473, allocations: 0 / 458.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.4474, allocations: 14.11 kB / 458.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4474, allocations: 3.047 kB / 458.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.4475, allocations: 12.88 kB / 458.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.4475, allocations: 0 / 458.3 MB, free: 37.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.4475, allocations: 115.7 kB / 458.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.4476, allocations: 6.625 kB / 458.4 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.4476, allocations: 10.47 kB / 458.4 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4476, allocations: 5.266 kB / 458.4 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4476, allocations: 0 / 458.4 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4476, allocations: 0 / 458.4 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.4478, allocations: 185 kB / 458.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4478, allocations: 6.156 kB / 458.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-05/0.4479, allocations: 12.55 kB / 458.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.4479, allocations: 0.5625 kB / 458.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4479, allocations: 4.5 kB / 458.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4479, allocations: 0 / 458.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4479, allocations: 0 / 458.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.4481, allocations: 187.6 kB / 458.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.4481, allocations: 78.11 kB / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.4482, allocations: 3.719 kB / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.4483, allocations: 9.297 kB / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.4483, allocations: 9.266 kB / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.4483, allocations: 1.438 kB / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.944e-05/0.4484, allocations: 89.44 kB / 459 MB, free: 37.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4484, allocations: 0 / 459 MB, free: 37.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.4486, allocations: 8.719 kB / 459 MB, free: 37.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.36e-05/0.4487, allocations: 98.12 kB / 459.1 MB, free: 37.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.4489, allocations: 62.55 kB / 459.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4489, allocations: 0 / 459.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.449, allocations: 23.89 kB / 459.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.4493, allocations: 4.438 kB / 459.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.4496, allocations: 164 kB / 459.3 MB, free: 37.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.4498, allocations: 0.6789 MB / 460 MB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.257e-05/0.4498, allocations: 11.33 kB / 460 MB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.4498, allocations: 10.78 kB / 460 MB, free: 36.38 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4498, allocations: 0.5312 kB / 460 MB, free: 36.38 MB / 382.1 MB Notification: Performance of Templates: time 0.002602/0.4524, allocations: 0.7166 MB / 460.8 MB, free: 36.33 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (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)