Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|conFan.u_s|conFan.u_m|onOffCon.reference|onOffCon.u",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|conFan.u_s|conFan.u_m|onOffCon.reference|onOffCon.u",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersParallel") [: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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.953/1.953, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 181.3 kB / 487 MB, free: 5.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 94.19 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.831e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2462, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.678/3.924, allocations: 2.246 GB / 3.452 GB, free: 67.25 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/3.925, allocations: 114.1 kB / 3.452 GB, free: 67.14 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.58/7.505, allocations: 1.207 GB / 4.658 GB, free: 151.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005588/7.506, allocations: 111.4 kB / 4.659 GB, free: 151.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 734 * Number of variables: 734 Notification: Performance of Generate backend data structure: time 0.01191/7.518, allocations: 4.256 MB / 4.663 GB, free: 148.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/7.518, allocations: 9.656 kB / 4.663 GB, free: 148.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00562/7.523, allocations: 1.072 MB / 4.664 GB, free: 147.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/7.539, allocations: 5.458 MB / 4.669 GB, free: 144.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/7.539, allocations: 92.16 kB / 4.669 GB, free: 144.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008602/7.54, allocations: 175.3 kB / 4.669 GB, free: 144.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00695/7.547, allocations: 3.718 MB / 4.673 GB, free: 142.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006121/7.553, allocations: 3.408 MB / 4.676 GB, free: 140.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-05/7.553, allocations: 7.938 kB / 4.676 GB, free: 140.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/7.553, allocations: 7.938 kB / 4.676 GB, free: 140.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.749e-05/7.553, allocations: 113.5 kB / 4.676 GB, free: 140.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02432/7.578, allocations: 15.43 MB / 4.692 GB, free: 124.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/7.58, allocations: 2.031 MB / 4.693 GB, free: 122.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/7.582, allocations: 1.503 MB / 4.695 GB, free: 121.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01401/7.596, allocations: 9.201 MB / 4.704 GB, free: 111.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001922/7.598, allocations: 1.594 MB / 4.705 GB, free: 109.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=218): time 4.258e-06/7.598, allocations: 4 kB / 4.706 GB, free: 109.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=218): time 0.07616/7.674, allocations: 15.92 MB / 4.721 GB, free: 94.26 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/7.675, allocations: 283 kB / 4.721 GB, free: 93.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005203/7.68, allocations: 3.525 MB / 4.725 GB, free: 90.42 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005691/7.68, allocations: 29.7 kB / 4.725 GB, free: 90.38 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/7.681, allocations: 1.148 MB / 4.726 GB, free: 89.21 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007774/7.682, allocations: 0.7121 MB / 4.727 GB, free: 88.49 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/7.682, allocations: 0 / 4.727 GB, free: 88.49 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001199/7.682, allocations: 415 kB / 4.727 GB, free: 88.08 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/7.684, allocations: 1.336 MB / 4.728 GB, free: 86.74 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/7.686, allocations: 2.265 MB / 4.731 GB, free: 84.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1504/7.837, allocations: 32.07 MB / 4.762 GB, free: 52.07 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.389e-05/7.837, allocations: 4 kB / 4.762 GB, free: 52.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.1603/7.997, allocations: 34.93 MB / 4.796 GB, free: 17.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009237/7.998, allocations: 5.689 MB / 4.802 GB, free: 10.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/7.998, allocations: 19.91 kB / 4.802 GB, free: 10.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/8, allocations: 0.789 MB / 4.802 GB, free: 10.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/8.003, allocations: 0.5719 MB / 4.803 GB, free: 9.516 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.16/8.163, allocations: 35.63 MB / 4.838 GB, free: 5.598 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/8.168, allocations: 417.4 kB / 4.838 GB, free: 5.188 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009561/8.169, allocations: 135.9 kB / 4.838 GB, free: 5.055 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/8.169, allocations: 4 kB / 4.838 GB, free: 5.051 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5822/8.752, allocations: 34.42 MB / 4.872 GB, free: 300.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/8.752, allocations: 15.28 kB / 4.872 GB, free: 300.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/8.753, allocations: 0.7914 MB / 4.873 GB, free: 300.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/8.756, allocations: 0.554 MB / 4.873 GB, free: 300.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1516/8.908, allocations: 36.55 MB / 4.909 GB, free: 295.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004672/8.912, allocations: 366 kB / 4.909 GB, free: 295.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008129/8.913, allocations: 131.5 kB / 4.909 GB, free: 295.4 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (304): * Single equations (assignments): 297 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 6,1 6,1 1,1 1,1 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001605/8.915, allocations: 175.1 kB / 4.909 GB, free: 295.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002077/8.917, allocations: 361.9 kB / 4.91 GB, free: 295.3 MB / 1.182 GB Error: Too many equations, over-determined system. The model has 260 equation(s) and 258 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07559/8.993, allocations: 14.62 MB / 4.924 GB, free: 294.2 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.