Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3314/0.3314, allocations: 54.4 MB / 61.68 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001205/0.001206, allocations: 183.6 kB / 75.38 MB, free: 1.52 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.252/1.252, allocations: 194.2 MB / 283.2 MB, free: 3.559 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001721/0.001721, allocations: 114.8 kB / 341.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.163e-06/7.273e-06, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 57.64 MB / 462.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.339/4.449, allocations: 2.115 GB / 2.567 GB, free: 89.01 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/4.449, allocations: 79.45 kB / 2.567 GB, free: 88.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1021/4.551, allocations: 56.15 MB / 2.622 GB, free: 31.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.243e-05/4.551, allocations: 4.219 kB / 2.622 GB, free: 31.78 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007278/4.552, allocations: 0.5246 MB / 2.623 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/4.552, allocations: 11.97 kB / 2.623 GB, free: 31.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006007/4.553, allocations: 55.83 kB / 2.623 GB, free: 31.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/4.553, allocations: 202.9 kB / 2.623 GB, free: 30.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/4.553, allocations: 0 / 2.623 GB, free: 30.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/4.553, allocations: 12 kB / 2.623 GB, free: 30.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002455/4.553, allocations: 119.9 kB / 2.623 GB, free: 30.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/4.553, allocations: 173.8 kB / 2.623 GB, free: 30.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/4.553, allocations: 0 / 2.623 GB, free: 30.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/4.554, allocations: 7.906 kB / 2.623 GB, free: 30.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/4.554, allocations: 0 / 2.623 GB, free: 30.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009879/4.555, allocations: 0.8174 MB / 2.624 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/4.555, allocations: 142.5 kB / 2.624 GB, free: 29.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/4.555, allocations: 84.77 kB / 2.624 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/4.555, allocations: 0 / 2.624 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/4.555, allocations: 38.55 kB / 2.624 GB, free: 29.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/4.555, allocations: 0 / 2.624 GB, free: 29.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0008794/4.556, allocations: 266.3 kB / 2.624 GB, free: 29.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/4.556, allocations: 55.41 kB / 2.624 GB, free: 29.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/4.556, allocations: 114.7 kB / 2.625 GB, free: 28.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/4.556, allocations: 25.7 kB / 2.625 GB, free: 28.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/4.556, allocations: 111.9 kB / 2.625 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/4.556, allocations: 31.55 kB / 2.625 GB, free: 28.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/4.556, allocations: 4 kB / 2.625 GB, free: 28.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.834e-05/4.556, allocations: 322.8 kB / 2.625 GB, free: 28.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/4.556, allocations: 75.97 kB / 2.625 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/4.556, allocations: 114.9 kB / 2.625 GB, free: 28.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/4.557, allocations: 99.88 kB / 2.625 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/4.557, allocations: 0 / 2.625 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008581/4.557, allocations: 314.1 kB / 2.626 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/4.557, allocations: 4 kB / 2.626 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/4.557, allocations: 0 / 2.626 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006419/4.558, allocations: 100.9 kB / 2.626 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/4.558, allocations: 47.95 kB / 2.626 GB, free: 27.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/4.56, allocations: 1.586 MB / 2.627 GB, free: 25.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/4.56, allocations: 39.86 kB / 2.627 GB, free: 25.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/4.56, allocations: 11.98 kB / 2.627 GB, free: 25.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (wetBul.iWat,wetBulApp.iWat) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 9.034e-05/4.561, allocations: 116.8 kB / 2.628 GB, free: 25.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/4.561, allocations: 7.906 kB / 2.628 GB, free: 25.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008068/4.561, allocations: 319 kB / 2.628 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/4.561, allocations: 0 / 2.628 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/4.561, allocations: 7.891 kB / 2.628 GB, free: 25.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/4.561, allocations: 0 / 2.628 GB, free: 25.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008602/4.562, allocations: 0.5483 MB / 2.628 GB, free: 24.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/4.562, allocations: 0 / 2.628 GB, free: 24.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/4.563, allocations: 39.97 kB / 2.628 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/4.563, allocations: 104.8 kB / 2.629 GB, free: 24.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/4.563, allocations: 0 / 2.629 GB, free: 24.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/4.565, allocations: 1.617 MB / 2.63 GB, free: 22.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/4.565, allocations: 0 / 2.63 GB, free: 22.98 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007176/4.565, allocations: 384.1 kB / 2.63 GB, free: 22.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/4.566, allocations: 81.02 kB / 2.631 GB, free: 22.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/4.566, allocations: 7.906 kB / 2.631 GB, free: 22.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/4.566, allocations: 23.97 kB / 2.631 GB, free: 22.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/4.566, allocations: 11.98 kB / 2.631 GB, free: 22.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/4.566, allocations: 4 kB / 2.631 GB, free: 22.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.551e-05/4.566, allocations: 101.5 kB / 2.631 GB, free: 22.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004223/4.566, allocations: 87.92 kB / 2.631 GB, free: 22.25 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009055/4.567, allocations: 0.7312 MB / 2.631 GB, free: 21.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005577/4.568, allocations: 361 kB / 2.632 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/4.568, allocations: 0 / 2.632 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/4.568, allocations: 214 kB / 2.632 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/4.568, allocations: 19.89 kB / 2.632 GB, free: 20.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000788/4.569, allocations: 275.7 kB / 2.632 GB, free: 20.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/4.569, allocations: 0.7345 MB / 2.633 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/4.569, allocations: 0 / 2.633 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.009987/4.579, allocations: 7.007 MB / 2.64 GB, free: 12.85 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)