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.006464/0.006464, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001228/0.001228, allocations: 188.6 kB / 16.67 MB, free: 5.973 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.64/1.64, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4008/0.4008, allocations: 54.94 MB / 324.8 MB, free: 15.93 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.001463/0.001464, allocations: 68.05 kB / 456.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1447, allocations: 59.59 MB / 0.5037 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002019/0.1468, allocations: 1.256 MB / 0.5049 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1624/0.3092, allocations: 132 MB / 0.6339 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.3094, allocations: 0 / 0.6339 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.3095, allocations: 3.938 kB / 0.6339 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.08e-05/0.3096, allocations: 7.984 kB / 0.6339 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.3101, allocations: 59.61 kB / 0.6339 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.3102, allocations: 19.91 kB / 0.634 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.3103, allocations: 8 kB / 0.634 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.3103, allocations: 8 kB / 0.634 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.3104, allocations: 11.92 kB / 0.634 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3105, allocations: 0 / 0.634 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3106, allocations: 15.94 kB / 0.634 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.3106, allocations: 7.922 kB / 0.634 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.3106, allocations: 7.938 kB / 0.634 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.3108, allocations: 27.97 kB / 0.634 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3108, allocations: 0 / 0.634 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3108, allocations: 0 / 0.634 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3108, allocations: 4 kB / 0.6341 GB, free: 5.031 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000544/0.3114, allocations: 335.4 kB / 0.6344 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3114, allocations: 8.031 kB / 0.6344 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.3115, allocations: 4.938 kB / 0.6344 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.3117, allocations: 176.2 kB / 0.6346 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.67e-05/0.3118, allocations: 26.27 kB / 0.6346 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.3118, allocations: 4.375 kB / 0.6346 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3119, allocations: 38.25 kB / 0.6346 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.312, allocations: 11.88 kB / 0.6346 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.312, allocations: 0 / 0.6346 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.312, allocations: 4 kB / 0.6346 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.3121, allocations: 11.98 kB / 0.6346 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.3123, allocations: 153.7 kB / 0.6348 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.3125, allocations: 34.56 kB / 0.6348 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.3125, allocations: 16.94 kB / 0.6348 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.3127, allocations: 93.09 kB / 0.6349 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.3128, allocations: 30.56 kB / 0.635 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.3128, allocations: 0 / 0.635 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002556/0.313, allocations: 61.56 kB / 0.635 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3131, allocations: 59.39 kB / 0.6351 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.3132, allocations: 97.86 kB / 0.6352 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3132, allocations: 25.7 kB / 0.6352 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.3132, allocations: 80.14 kB / 0.6353 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.3133, allocations: 7.953 kB / 0.6353 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.3133, allocations: 13.72 kB / 0.6353 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3134, allocations: 314.8 kB / 0.6356 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.3135, allocations: 12 kB / 0.6356 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.981e-05/0.3135, allocations: 7.984 kB / 0.6356 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.29e-05/0.3136, allocations: 28.78 kB / 0.6356 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3136, allocations: 0 / 0.6356 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001292/0.3138, allocations: 53.64 kB / 0.6357 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3138, allocations: 7.938 kB / 0.6357 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3138, allocations: 0 / 0.6357 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3138, allocations: 0 / 0.6357 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.3139, allocations: 8 kB / 0.6357 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3139, allocations: 0 / 0.6357 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.314, allocations: 3.984 kB / 0.6357 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.314, allocations: 7.938 kB / 0.6357 GB, free: 3.078 MB / 0.4981 GB 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 8.566e-05/0.3141, allocations: 109.8 kB / 0.6358 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.3141, allocations: 3.938 kB / 0.6358 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.3143, allocations: 65.05 kB / 0.6359 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3143, allocations: 4 kB / 0.6359 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3143, allocations: 0 / 0.6359 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3143, allocations: 0 / 0.6359 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.3144, allocations: 153.7 kB / 0.636 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3144, allocations: 4 kB / 0.636 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.3145, allocations: 4 kB / 0.636 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.3145, allocations: 4.5 kB / 0.636 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3145, allocations: 0 / 0.636 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3145, allocations: 4 kB / 0.636 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3145, allocations: 0 / 0.636 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.3147, allocations: 77.03 kB / 0.6361 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.3148, allocations: 93.06 kB / 0.6362 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.3148, allocations: 3.938 kB / 0.6362 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.3148, allocations: 0 / 0.6362 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.3149, allocations: 7.984 kB / 0.6362 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.3149, allocations: 0 / 0.6362 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.3149, allocations: 79.28 kB / 0.6363 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3149, allocations: 0 / 0.6363 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001979/0.3151, allocations: 15.94 kB / 0.6363 GB, free: 2.355 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 (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.0001923/0.3153, allocations: 107.2 kB / 0.6364 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.3155, allocations: 19.98 kB / 0.6364 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3155, allocations: 0 / 0.6364 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.458e-05/0.3156, allocations: 19.92 kB / 0.6365 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3159, allocations: 11.38 kB / 0.6365 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.3162, allocations: 127.7 kB / 0.6366 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3166, allocations: 0.6807 MB / 0.6373 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.3166, allocations: 7.984 kB / 0.6373 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.3166, allocations: 7.438 kB / 0.6373 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.3166, allocations: 0 / 0.6373 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of Templates: time 0.002869/0.3195, allocations: 0.5316 MB / 0.6378 GB, free: 0.7891 MB / 0.4981 GB 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)