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.008566/0.008566, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.002194/0.002194, allocations: 190 kB / 16.67 MB, free: 5.883 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.648/1.648, allocations: 205.1 MB / 222.6 MB, free: 4.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4509/0.4509, allocations: 54.94 MB / 324.8 MB, free: 96 kB / 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.001511/0.001511, allocations: 71.06 kB / 456.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1352, allocations: 59.59 MB / 0.5038 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002711/0.138, allocations: 1.26 MB / 0.505 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1583/0.2963, allocations: 132 MB / 0.634 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.2965, allocations: 4 kB / 0.634 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.2965, allocations: 3.984 kB / 0.634 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.821e-05/0.2966, allocations: 7.922 kB / 0.634 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.297, allocations: 51.73 kB / 0.634 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.809e-05/0.2971, allocations: 23.86 kB / 0.6341 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.2971, allocations: 8 kB / 0.6341 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.2972, allocations: 7.938 kB / 0.6341 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.2972, allocations: 7.984 kB / 0.6341 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.2972, allocations: 4 kB / 0.6341 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.56e-05/0.2973, allocations: 8 kB / 0.6341 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.2974, allocations: 11.97 kB / 0.6341 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.2974, allocations: 11.94 kB / 0.6341 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.2975, allocations: 19.92 kB / 0.6341 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2975, allocations: 0 / 0.6341 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2975, allocations: 0 / 0.6341 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2975, allocations: 0 / 0.6341 GB, free: 4.879 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.000435/0.298, allocations: 339.4 kB / 0.6345 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.298, allocations: 8.031 kB / 0.6345 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.298, allocations: 4.938 kB / 0.6345 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2982, allocations: 168.3 kB / 0.6346 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/0.2982, allocations: 34.27 kB / 0.6347 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2983, allocations: 384 / 0.6347 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2984, allocations: 34.25 kB / 0.6347 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2984, allocations: 11.94 kB / 0.6347 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.2984, allocations: 0 / 0.6347 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2984, allocations: 0 / 0.6347 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.163e-05/0.2985, allocations: 15.98 kB / 0.6347 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.2987, allocations: 153.7 kB / 0.6349 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.651e-05/0.2988, allocations: 34.45 kB / 0.6349 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.2988, allocations: 12.94 kB / 0.6349 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.299, allocations: 93.09 kB / 0.635 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.299, allocations: 38.56 kB / 0.635 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.299, allocations: 0 / 0.635 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002405/0.2993, allocations: 57.61 kB / 0.6351 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.2993, allocations: 55.34 kB / 0.6351 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.2994, allocations: 94.05 kB / 0.6352 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2994, allocations: 29.7 kB / 0.6353 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.2995, allocations: 84.14 kB / 0.6353 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.2995, allocations: 19.73 kB / 0.6354 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.2995, allocations: 9.719 kB / 0.6354 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2996, allocations: 318.8 kB / 0.6357 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-05/0.2997, allocations: 4 kB / 0.6357 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.2997, allocations: 8.172 kB / 0.6357 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.638e-05/0.2998, allocations: 28.92 kB / 0.6357 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2998, allocations: 4 kB / 0.6357 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001747/0.3, allocations: 49.62 kB / 0.6358 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.3001, allocations: 11.88 kB / 0.6358 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3001, allocations: 0 / 0.6358 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.3001, allocations: 4 kB / 0.6358 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.3002, allocations: 4 kB / 0.6358 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3002, allocations: 3.984 kB / 0.6358 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.3003, allocations: 0 / 0.6358 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3003, allocations: 8 kB / 0.6358 GB, free: 2.922 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 7.612e-05/0.3004, allocations: 109.8 kB / 0.6359 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.3004, allocations: 3.938 kB / 0.6359 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.3006, allocations: 57.17 kB / 0.636 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3006, allocations: 0 / 0.636 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3006, allocations: 4 kB / 0.636 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3006, allocations: 0 / 0.636 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.3007, allocations: 157.7 kB / 0.6361 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3007, allocations: 7.938 kB / 0.6361 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.3008, allocations: 4 kB / 0.6361 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.3008, allocations: 7.938 kB / 0.6361 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3008, allocations: 0 / 0.6361 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3008, allocations: 0 / 0.6361 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3008, allocations: 0 / 0.6361 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.301, allocations: 81.02 kB / 0.6362 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.301, allocations: 77.11 kB / 0.6363 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3011, allocations: 11.92 kB / 0.6363 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.965e-05/0.3011, allocations: 4 kB / 0.6363 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.3011, allocations: 3.938 kB / 0.6363 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.3011, allocations: 0 / 0.6363 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.034e-05/0.3012, allocations: 83.28 kB / 0.6364 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3012, allocations: 0 / 0.6364 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001929/0.3014, allocations: 12 kB / 0.6364 GB, free: 2.203 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.0001533/0.3015, allocations: 115.1 kB / 0.6365 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.3017, allocations: 27.97 kB / 0.6365 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3017, allocations: 0 / 0.6365 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/0.3018, allocations: 8 kB / 0.6365 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.302, allocations: 8.469 kB / 0.6365 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.3023, allocations: 141.4 kB / 0.6367 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.3026, allocations: 0.6768 MB / 0.6373 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.3026, allocations: 3.984 kB / 0.6373 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.3027, allocations: 15.42 kB / 0.6374 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.3027, allocations: 0 / 0.6374 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of Templates: time 0.002707/0.3054, allocations: 0.5106 MB / 0.6379 GB, free: 0.6445 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)