Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008871/0.008871, allocations: 102 kB / 15.73 MB, free: 6.051 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.001699/0.001699, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3392/0.3392, allocations: 54.97 MB / 324.9 MB, free: 4.828 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.001526/0.001526, allocations: 75.84 kB / 456.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1292, allocations: 59.59 MB / 0.5037 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002368/0.1316, allocations: 1.266 MB / 0.5049 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.4718/0.6034, allocations: 132 MB / 0.6339 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.6036, allocations: 4 kB / 0.6339 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.6036, allocations: 3.938 kB / 0.6339 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.024e-05/0.6036, allocations: 3.938 kB / 0.6339 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.604, allocations: 59.09 kB / 0.6339 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.349e-05/0.6041, allocations: 25.36 kB / 0.634 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.6042, allocations: 4 kB / 0.634 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.463e-05/0.6043, allocations: 7.938 kB / 0.634 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.6043, allocations: 15.98 kB / 0.634 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.6043, allocations: 0 / 0.634 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.333e-05/0.6044, allocations: 11.98 kB / 0.634 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.6045, allocations: 8 kB / 0.634 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.6045, allocations: 7.938 kB / 0.634 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.6046, allocations: 30.28 kB / 0.634 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6046, allocations: 0 / 0.634 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6047, allocations: 0 / 0.634 GB, free: 11.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.6047, allocations: 0 / 0.634 GB, free: 11.33 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004612/0.6051, allocations: 339.3 kB / 0.6344 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.6052, allocations: 8.031 kB / 0.6344 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.6052, allocations: 4.938 kB / 0.6344 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.6053, allocations: 164.4 kB / 0.6345 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.942e-05/0.6054, allocations: 31.48 kB / 0.6346 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.6055, allocations: 384 / 0.6346 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.6056, allocations: 42.19 kB / 0.6346 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.6056, allocations: 7.938 kB / 0.6346 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.6056, allocations: 0 / 0.6346 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.6056, allocations: 4 kB / 0.6346 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.711e-05/0.6057, allocations: 11.98 kB / 0.6346 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.6059, allocations: 153.7 kB / 0.6348 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.606, allocations: 26.67 kB / 0.6348 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.6061, allocations: 24.77 kB / 0.6348 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.6063, allocations: 93.09 kB / 0.6349 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.6063, allocations: 34.56 kB / 0.635 GB, free: 10.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.6063, allocations: 0 / 0.635 GB, free: 10.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002471/0.6066, allocations: 61.55 kB / 0.635 GB, free: 10.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.6066, allocations: 51.41 kB / 0.6351 GB, free: 10.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.6067, allocations: 97.86 kB / 0.6352 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.6067, allocations: 25.7 kB / 0.6352 GB, free: 9.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.6068, allocations: 84.14 kB / 0.6353 GB, free: 9.871 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.6068, allocations: 19.73 kB / 0.6353 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.6068, allocations: 13.72 kB / 0.6353 GB, free: 9.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.6069, allocations: 314.8 kB / 0.6356 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.607, allocations: 7.938 kB / 0.6356 GB, free: 9.508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.724e-05/0.607, allocations: 11.92 kB / 0.6356 GB, free: 9.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.288e-05/0.6071, allocations: 24.84 kB / 0.6356 GB, free: 9.469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6071, allocations: 8 kB / 0.6356 GB, free: 9.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001225/0.6073, allocations: 41.69 kB / 0.6357 GB, free: 9.414 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6073, allocations: 7.938 kB / 0.6357 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6073, allocations: 0 / 0.6357 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6073, allocations: 4 kB / 0.6357 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.6074, allocations: 11.98 kB / 0.6357 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.6074, allocations: 0 / 0.6357 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.6075, allocations: 0 / 0.6357 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.6075, allocations: 7.938 kB / 0.6357 GB, free: 9.383 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.223e-05/0.6076, allocations: 109.8 kB / 0.6358 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.6076, allocations: 3.938 kB / 0.6358 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.6077, allocations: 63.59 kB / 0.6359 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.6077, allocations: 0 / 0.6359 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6078, allocations: 0 / 0.6359 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6078, allocations: 0 / 0.6359 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.6079, allocations: 149.7 kB / 0.636 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6079, allocations: 0 / 0.636 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.6079, allocations: 8 kB / 0.636 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.6079, allocations: 11.94 kB / 0.636 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.6079, allocations: 1.25 kB / 0.636 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.608, allocations: 0 / 0.636 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.608, allocations: 7.922 kB / 0.636 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.6081, allocations: 73.59 kB / 0.6361 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.6082, allocations: 81.14 kB / 0.6362 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.6082, allocations: 7.922 kB / 0.6362 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.137e-05/0.6083, allocations: 8 kB / 0.6362 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.6083, allocations: 4 kB / 0.6362 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.6083, allocations: 0 / 0.6362 GB, free: 8.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.12e-05/0.6084, allocations: 79.28 kB / 0.6363 GB, free: 8.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6084, allocations: 0 / 0.6363 GB, free: 8.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.6086, allocations: 8 kB / 0.6363 GB, free: 8.676 MB / 494.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 (3): * Single equations (assignments): 3 * 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.0001408/0.6087, allocations: 118 kB / 0.6364 GB, free: 8.551 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.6089, allocations: 31.91 kB / 0.6364 GB, free: 8.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6089, allocations: 3.938 kB / 0.6364 GB, free: 8.516 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.6089, allocations: 8 kB / 0.6365 GB, free: 8.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.6092, allocations: 12.8 kB / 0.6365 GB, free: 8.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.6095, allocations: 124.2 kB / 0.6366 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.6097, allocations: 0.6767 MB / 0.6372 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.6098, allocations: 7.984 kB / 0.6373 GB, free: 7.637 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.6098, allocations: 11.44 kB / 0.6373 GB, free: 7.625 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6098, allocations: 0 / 0.6373 GB, free: 7.625 MB / 494.1 MB Notification: Performance of Templates: time 0.002644/0.6125, allocations: 0.5183 MB / 0.6378 GB, free: 7.125 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)