Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") [: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.3158/0.3158, allocations: 54.39 MB / 61.67 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.00187/0.00187, allocations: 188.4 kB / 75.37 MB, free: 1.488 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.52/1.52, allocations: 194.2 MB / 283.2 MB, free: 3.477 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.001775/0.001774, allocations: 97.36 kB / 341.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.836e-06, allocations: 0 / 405 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1376, allocations: 57.64 MB / 462.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.649/5.786, allocations: 2.393 GB / 2.844 GB, free: 179.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/5.787, allocations: 95.5 kB / 2.844 GB, free: 179.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.65/8.437, allocations: 0.7721 GB / 3.617 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004684/8.438, allocations: 51.05 kB / 3.617 GB, free: 3.02 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 372 * Number of variables: 372 Notification: Performance of Generate backend data structure: time 0.009094/8.447, allocations: 2.454 MB / 3.619 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/8.447, allocations: 15.91 kB / 3.619 GB, free: 488 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/8.45, allocations: 395 kB / 3.619 GB, free: 92 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3896/8.84, allocations: 4.523 MB / 3.624 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/8.84, allocations: 46.56 kB / 3.624 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/8.84, allocations: 89.47 kB / 3.624 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002541/8.843, allocations: 1.244 MB / 3.625 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/8.845, allocations: 1.601 MB / 3.627 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/8.845, allocations: 3.625 kB / 3.627 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/8.846, allocations: 3.531 kB / 3.627 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/8.846, allocations: 53.95 kB / 3.627 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/8.859, allocations: 7.635 MB / 3.634 GB, free: 80.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/8.86, allocations: 0.6288 MB / 3.635 GB, free: 80.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/8.861, allocations: 0.5505 MB / 3.635 GB, free: 80.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/8.861, allocations: 179.1 kB / 3.636 GB, free: 80.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/8.861, allocations: 42.75 kB / 3.636 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 4.368e-06/8.861, allocations: 5.547 kB / 3.636 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=81): time 0.006147/8.867, allocations: 2.727 MB / 3.638 GB, free: 79.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/8.867, allocations: 276.3 kB / 3.639 GB, free: 79.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/8.87, allocations: 1.578 MB / 3.64 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/8.87, allocations: 32.83 kB / 3.64 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/8.871, allocations: 0.6723 MB / 3.641 GB, free: 78.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/8.871, allocations: 272.1 kB / 3.641 GB, free: 78.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/8.871, allocations: 0 / 3.641 GB, free: 78.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001026/8.871, allocations: 347.6 kB / 3.641 GB, free: 78.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007634/8.872, allocations: 0.6061 MB / 3.642 GB, free: 78.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000987/8.873, allocations: 0.9199 MB / 3.643 GB, free: 77.72 MB / 0.5261 GB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003536/8.876, allocations: 1.568 MB / 3.644 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/8.876, allocations: 2.406 kB / 3.644 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003169/8.879, allocations: 1.646 MB / 3.646 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007921/8.88, allocations: 2.543 MB / 3.648 GB, free: 74.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/8.88, allocations: 6.719 kB / 3.648 GB, free: 74.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.546e-05/8.88, allocations: 17.53 kB / 3.648 GB, free: 74.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/8.881, allocations: 227.8 kB / 3.649 GB, free: 74.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/8.881, allocations: 16.11 kB / 3.649 GB, free: 74.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/8.884, allocations: 130.2 kB / 3.649 GB, free: 74.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/8.884, allocations: 47.94 kB / 3.649 GB, free: 74.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/8.884, allocations: 3.656 kB / 3.649 GB, free: 74.72 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002328/8.886, allocations: 1.425 MB / 3.65 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/8.886, allocations: 3.875 kB / 3.65 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/8.886, allocations: 11.41 kB / 3.65 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008451/8.887, allocations: 212.4 kB / 3.651 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/8.887, allocations: 13.16 kB / 3.651 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/8.889, allocations: 93.98 kB / 3.651 GB, free: 74.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/8.889, allocations: 52.39 kB / 3.651 GB, free: 74.7 MB / 0.5261 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 6 * 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.0004846/8.89, allocations: 228.7 kB / 3.651 GB, free: 74.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007042/8.89, allocations: 183 kB / 3.651 GB, free: 74.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/8.893, allocations: 1.239 MB / 3.652 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/8.893, allocations: 9.969 kB / 3.652 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/8.893, allocations: 0 / 3.652 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001758/8.895, allocations: 1.352 MB / 3.654 GB, free: 73.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008054/8.903, allocations: 3.17 MB / 3.657 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/8.903, allocations: 3.75 kB / 3.657 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008478/8.904, allocations: 165.7 kB / 3.657 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/8.904, allocations: 41.77 kB / 3.657 GB, free: 73.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.299e-05/8.904, allocations: 15.72 kB / 3.657 GB, free: 73.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005491/8.905, allocations: 0.5914 MB / 3.657 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/8.905, allocations: 3.875 kB / 3.657 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003712/8.909, allocations: 2.403 MB / 3.66 GB, free: 72.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/8.911, allocations: 452.4 kB / 3.66 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/8.912, allocations: 14.86 kB / 3.66 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/8.914, allocations: 101.9 kB / 3.66 GB, free: 71.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/8.914, allocations: 82.23 kB / 3.66 GB, free: 71.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/8.915, allocations: 44.75 kB / 3.66 GB, free: 71.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003696/8.918, allocations: 1.195 MB / 3.662 GB, free: 71.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006654/8.925, allocations: 0.9397 MB / 3.663 GB, free: 71.76 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * 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.005477/8.931, allocations: 2.355 MB / 3.665 GB, free: 71.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004712/8.935, allocations: 2.449 MB / 3.667 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/8.935, allocations: 7.375 kB / 3.667 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/8.937, allocations: 0.8458 MB / 3.668 GB, free: 70.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005736/8.942, allocations: 0.8065 MB / 3.669 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/8.954, allocations: 3.178 MB / 3.672 GB, free: 69.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003309/8.957, allocations: 1.741 MB / 3.674 GB, free: 69.13 MB / 0.5261 GB Notification: Performance of SimCode: time 1.854e-06/8.957, allocations: 6.234 kB / 3.674 GB, free: 69.13 MB / 0.5261 GB Notification: Performance of Templates: time 0.1055/9.063, allocations: 50.17 MB / 3.723 GB, free: 66.71 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)