Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier") [: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.2778/0.2778, allocations: 54.4 MB / 61.68 MB, free: 11.16 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.00122/0.00122, allocations: 182.7 kB / 75.37 MB, free: 1.461 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.537/1.537, allocations: 194.2 MB / 283.2 MB, free: 3.473 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.001851/0.001851, allocations: 123.3 kB / 341.3 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.986e-06/9.006e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1504, allocations: 57.65 MB / 462.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.058/5.209, allocations: 2.139 GB / 2.591 GB, free: 63.36 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/5.209, allocations: 91.95 kB / 2.591 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.92/10.13, allocations: 1.251 GB / 3.842 GB, free: 51.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004301/10.13, allocations: 52.55 kB / 3.842 GB, free: 51.21 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.008776/10.14, allocations: 2.272 MB / 3.845 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/10.14, allocations: 11.62 kB / 3.845 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00617/10.14, allocations: 0.6535 MB / 3.845 GB, free: 50.24 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005524/10.15, allocations: 1.59 MB / 3.847 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/10.15, allocations: 47.75 kB / 3.847 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006374/10.15, allocations: 90.75 kB / 3.847 GB, free: 49.91 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003492/10.15, allocations: 1.296 MB / 3.848 GB, free: 49.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/10.16, allocations: 1.382 MB / 3.849 GB, free: 49.71 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.519e-05/10.16, allocations: 3.906 kB / 3.849 GB, free: 49.71 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/10.16, allocations: 5.953 kB / 3.849 GB, free: 49.71 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.205e-05/10.16, allocations: 49.7 kB / 3.85 GB, free: 49.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/10.17, allocations: 7.58 MB / 3.857 GB, free: 45.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/10.17, allocations: 0.699 MB / 3.858 GB, free: 45.56 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/10.17, allocations: 353.5 kB / 3.858 GB, free: 45.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/10.17, allocations: 175.2 kB / 3.858 GB, free: 45.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/10.17, allocations: 47.62 kB / 3.858 GB, free: 45.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=66): time 2.885e-06/10.17, allocations: 0 / 3.858 GB, free: 45.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=66): time 0.002778/10.18, allocations: 0.9043 MB / 3.859 GB, free: 45.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/10.18, allocations: 89.89 kB / 3.859 GB, free: 45.12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/10.18, allocations: 0.9494 MB / 3.86 GB, free: 44.96 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.945e-05/10.18, allocations: 29.11 kB / 3.86 GB, free: 44.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/10.18, allocations: 0.6473 MB / 3.861 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/10.18, allocations: 232.4 kB / 3.861 GB, free: 44.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/10.18, allocations: 0 / 3.861 GB, free: 44.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.647e-05/10.18, allocations: 355.8 kB / 3.861 GB, free: 44.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/10.18, allocations: 338 kB / 3.862 GB, free: 44.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/10.18, allocations: 0.7556 MB / 3.862 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/10.18, allocations: 481.2 kB / 3.863 GB, free: 43.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/10.18, allocations: 3.281 kB / 3.863 GB, free: 43.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001889/10.18, allocations: 1.148 MB / 3.864 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00124/10.18, allocations: 4.66 MB / 3.868 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/10.18, allocations: 11.19 kB / 3.868 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.942e-05/10.18, allocations: 18.97 kB / 3.869 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/10.19, allocations: 272.3 kB / 3.869 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/10.19, allocations: 25.62 kB / 3.869 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/10.19, allocations: 193.8 kB / 3.869 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/10.19, allocations: 55.11 kB / 3.869 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/10.19, allocations: 3.719 kB / 3.869 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001485/10.19, allocations: 0.9551 MB / 3.87 GB, free: 38.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/10.19, allocations: 10.38 kB / 3.87 GB, free: 38.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/10.19, allocations: 24.31 kB / 3.87 GB, free: 38.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008772/10.19, allocations: 231.1 kB / 3.87 GB, free: 38.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/10.19, allocations: 30.34 kB / 3.87 GB, free: 38.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/10.19, allocations: 131.2 kB / 3.87 GB, free: 38.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.919e-05/10.19, allocations: 54.08 kB / 3.87 GB, free: 38.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 4 (humBac.vol.i_w,humFor.vol.i_w,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002954/10.19, allocations: 142.5 kB / 3.871 GB, free: 38.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/10.19, allocations: 143.1 kB / 3.871 GB, free: 38.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/10.19, allocations: 0.793 MB / 3.871 GB, free: 38.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/10.19, allocations: 7.406 kB / 3.871 GB, free: 38.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/10.19, allocations: 0 / 3.871 GB, free: 38.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009645/10.19, allocations: 0.7694 MB / 3.872 GB, free: 38.13 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/10.2, allocations: 2.125 MB / 3.874 GB, free: 37.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/10.2, allocations: 3.25 kB / 3.874 GB, free: 37.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/10.2, allocations: 196.5 kB / 3.874 GB, free: 37.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/10.2, allocations: 5.906 kB / 3.874 GB, free: 37.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/10.2, allocations: 16.3 kB / 3.875 GB, free: 37.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/10.2, allocations: 1.031 kB / 3.875 GB, free: 37.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/10.2, allocations: 2.094 kB / 3.875 GB, free: 37.79 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001779/10.2, allocations: 1.336 MB / 3.876 GB, free: 37.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/10.2, allocations: 329.6 kB / 3.876 GB, free: 37.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/10.2, allocations: 11.73 kB / 3.876 GB, free: 37.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/10.2, allocations: 101.5 kB / 3.876 GB, free: 37.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.95e-05/10.2, allocations: 39.58 kB / 3.876 GB, free: 37.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.674e-05/10.2, allocations: 32.06 kB / 3.876 GB, free: 37.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001003/10.2, allocations: 0.7096 MB / 3.877 GB, free: 37.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003456/10.21, allocations: 1.057 MB / 3.878 GB, free: 37.05 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005693/10.21, allocations: 3.476 MB / 3.881 GB, free: 35.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003314/10.22, allocations: 1.611 MB / 3.883 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/10.22, allocations: 4.125 kB / 3.883 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/10.22, allocations: 353.3 kB / 3.883 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/10.22, allocations: 0.6932 MB / 3.884 GB, free: 35.44 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/10.23, allocations: 2.382 MB / 3.886 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/10.23, allocations: 1.536 MB / 3.888 GB, free: 34.12 MB / 0.5417 GB Notification: Performance of SimCode: time 1.322e-06/10.23, allocations: 0 / 3.888 GB, free: 34.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.08853/10.32, allocations: 47.44 MB / 3.934 GB, free: 31.84 MB / 0.5417 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)