Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirSup.T|wseCon.TWetBul|wseCon.y1|chiCon.y|pumCHW.m_flow",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") [: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.738/1.738, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001008/0.001008, allocations: 184.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.102/1.102, allocations: 221.3 MB / 0.7819 GB, free: 1.434 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.0007778/0.0007778, allocations: 103.1 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.278e-06/4.298e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.165, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.913/3.078, allocations: 2.27 GB / 3.475 GB, free: 27.33 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/3.078, allocations: 83.95 kB / 3.475 GB, free: 27.25 MB / 1.151 GB Notification: Performance of FrontEnd: time 12.86/15.94, allocations: 5.213 GB / 8.688 GB, free: 10.08 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.001123/15.94, allocations: 343.6 kB / 8.688 GB, free: 9.738 MB / 1.354 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2246 * Number of variables: 2246 Notification: Performance of Generate backend data structure: time 0.02304/15.97, allocations: 11.78 MB / 8.7 GB, free: 13.84 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/15.97, allocations: 12.47 kB / 8.7 GB, free: 13.83 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02076/15.99, allocations: 3.986 MB / 8.704 GB, free: 9.824 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5074/16.49, allocations: 15.32 MB / 8.719 GB, free: 156.8 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003791/16.49, allocations: 453.3 kB / 8.719 GB, free: 156.8 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/16.5, allocations: 0.5331 MB / 8.72 GB, free: 156.8 MB / 1.37 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01394/16.51, allocations: 9.537 MB / 8.729 GB, free: 156.7 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/16.52, allocations: 9.984 MB / 8.739 GB, free: 155.7 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/16.52, allocations: 25.92 kB / 8.739 GB, free: 155.7 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008117/16.53, allocations: 19.36 kB / 8.739 GB, free: 155.7 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002021/16.53, allocations: 367.2 kB / 8.739 GB, free: 155.7 MB / 1.37 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05926/16.58, allocations: 52.48 MB / 8.79 GB, free: 133.2 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005515/16.59, allocations: 4.57 MB / 8.795 GB, free: 133.1 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00448/16.6, allocations: 4.04 MB / 8.799 GB, free: 133.1 MB / 1.37 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02829/16.62, allocations: 19.34 MB / 8.818 GB, free: 127.8 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004799/16.63, allocations: 3.845 MB / 8.821 GB, free: 127.6 MB / 1.37 GB Notification: Performance of pre-optimization done (n=604): time 8.356e-06/16.63, allocations: 0 / 8.821 GB, free: 127.6 MB / 1.37 GB Notification: Performance of matching and sorting (n=608): time 0.03867/16.67, allocations: 16.75 MB / 8.838 GB, free: 124.9 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/16.67, allocations: 376.4 kB / 8.838 GB, free: 124.5 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/16.68, allocations: 7.96 MB / 8.846 GB, free: 123.9 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.0009549/16.68, allocations: 40.64 kB / 8.846 GB, free: 123.9 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.003167/16.68, allocations: 3.373 MB / 8.849 GB, free: 122.3 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.004185/16.69, allocations: 1.986 MB / 8.851 GB, free: 121 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004022/16.69, allocations: 0 / 8.851 GB, free: 121 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0002497/16.69, allocations: 0.5769 MB / 8.852 GB, free: 120.7 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003757/16.69, allocations: 2.882 MB / 8.854 GB, free: 120.6 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004509/16.7, allocations: 4.981 MB / 8.859 GB, free: 118.4 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006942/16.7, allocations: 4.027 MB / 8.863 GB, free: 118.3 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/16.7, allocations: 14.22 kB / 8.863 GB, free: 118.3 MB / 1.37 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01668/16.72, allocations: 9.391 MB / 8.872 GB, free: 117.5 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.004593/16.73, allocations: 26.74 MB / 8.899 GB, free: 106.2 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.981e-05/16.73, allocations: 47.97 kB / 8.899 GB, free: 106.2 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/16.73, allocations: 0.6171 MB / 8.899 GB, free: 106.2 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007182/16.74, allocations: 1.711 MB / 8.901 GB, free: 106.2 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006541/16.74, allocations: 8.099 MB / 8.909 GB, free: 115.7 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/16.75, allocations: 0.8723 MB / 8.91 GB, free: 115.7 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008199/16.75, allocations: 367.9 kB / 8.91 GB, free: 115.7 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-06/16.75, allocations: 5.344 kB / 8.91 GB, free: 115.7 MB / 1.401 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0153/16.77, allocations: 8.105 MB / 8.918 GB, free: 115.4 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/16.77, allocations: 45.97 kB / 8.918 GB, free: 115.4 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002393/16.77, allocations: 0.6267 MB / 8.919 GB, free: 115.4 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00694/16.78, allocations: 1.681 MB / 8.92 GB, free: 115.4 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008342/16.79, allocations: 9.356 MB / 8.929 GB, free: 108 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/16.8, allocations: 0.8328 MB / 8.93 GB, free: 108 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008443/16.8, allocations: 367.4 kB / 8.931 GB, free: 108 MB / 1.401 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTimMin.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,greaterThreshold.y,mCWFlo.u,triAndRes.conPID.I.trigger_internal,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 853 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 5 {1 3,2 10,1 4,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001607/16.8, allocations: 312.1 kB / 8.931 GB, free: 107.8 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002327/16.8, allocations: 1.018 MB / 8.932 GB, free: 107.3 MB / 1.401 GB Error: Too many equations, over-determined system. The model has 695 equation(s) and 693 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/16.81, allocations: 5.398 MB / 8.937 GB, free: 107.1 MB / 1.401 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.