Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller") [: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 8.1.4-maint.8.1.x/package.mo): time 1.397/1.397, allocations: 289.8 MB / 297.1 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 196 kB / 366.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.061/1.061, allocations: 205.1 MB / 0.6256 GB, free: 7.445 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008725/0.0008727, allocations: 89.44 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.7e-06/5.72e-06, allocations: 0 / 0.859 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4455, allocations: 116.3 MB / 0.9726 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6829/1.128, allocations: 479.9 MB / 1.441 GB, free: 78.08 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/1.129, allocations: 113.1 kB / 1.441 GB, free: 78.01 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.928/8.057, allocations: 2.544 GB / 3.985 GB, free: 61.85 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0009724/8.058, allocations: 169.2 kB / 3.985 GB, free: 61.82 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.01296/8.071, allocations: 5.773 MB / 3.991 GB, free: 59.41 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/8.071, allocations: 10.16 kB / 3.991 GB, free: 59.41 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006575/8.077, allocations: 1.401 MB / 3.992 GB, free: 59.03 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0281/8.106, allocations: 14.47 MB / 4.006 GB, free: 57.76 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/8.106, allocations: 230.3 kB / 4.007 GB, free: 57.69 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007233/8.107, allocations: 249 kB / 4.007 GB, free: 57.69 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00569/8.112, allocations: 3.256 MB / 4.01 GB, free: 57.67 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005548/8.118, allocations: 3.769 MB / 4.014 GB, free: 57.21 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.742e-05/8.118, allocations: 10.16 kB / 4.014 GB, free: 57.21 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003179/8.118, allocations: 9.438 kB / 4.014 GB, free: 57.2 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.566e-05/8.118, allocations: 98.19 kB / 4.014 GB, free: 57.2 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02544/8.144, allocations: 24.19 MB / 4.037 GB, free: 45.5 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/8.146, allocations: 1.556 MB / 4.039 GB, free: 45.46 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/8.147, allocations: 1.375 MB / 4.04 GB, free: 45.44 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009589/8.157, allocations: 8 MB / 4.048 GB, free: 41.46 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/8.159, allocations: 1.391 MB / 4.049 GB, free: 41.33 MB / 1.057 GB Notification: Performance of pre-optimization done (n=219): time 3.677e-06/8.159, allocations: 1.719 kB / 4.049 GB, free: 41.33 MB / 1.057 GB Notification: Performance of matching and sorting (n=219): time 0.007284/8.166, allocations: 3.335 MB / 4.053 GB, free: 40.94 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/8.166, allocations: 181.6 kB / 4.053 GB, free: 40.75 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005078/8.171, allocations: 3.938 MB / 4.057 GB, free: 40.38 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002443/8.171, allocations: 35.02 kB / 4.057 GB, free: 40.35 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/8.173, allocations: 1.623 MB / 4.058 GB, free: 39.55 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009778/8.174, allocations: 0.7065 MB / 4.059 GB, free: 39.08 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/8.174, allocations: 1.938 kB / 4.059 GB, free: 39.08 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001162/8.174, allocations: 417.5 kB / 4.059 GB, free: 38.78 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/8.175, allocations: 1.107 MB / 4.061 GB, free: 38.77 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/8.177, allocations: 2.139 MB / 4.063 GB, free: 37.57 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003856/8.181, allocations: 1.72 MB / 4.064 GB, free: 37.52 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/8.181, allocations: 7.844 kB / 4.064 GB, free: 37.52 MB / 1.057 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.008589/8.19, allocations: 4.106 MB / 4.068 GB, free: 37.1 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001484/8.191, allocations: 10.58 MB / 4.079 GB, free: 26.22 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/8.191, allocations: 22.03 kB / 4.079 GB, free: 26.22 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009578/8.192, allocations: 272.9 kB / 4.079 GB, free: 26.19 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/8.195, allocations: 0.6868 MB / 4.08 GB, free: 26.19 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/8.199, allocations: 4.223 MB / 4.084 GB, free: 22.7 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004636/8.204, allocations: 0.5137 MB / 4.084 GB, free: 22.55 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/8.204, allocations: 171.8 kB / 4.084 GB, free: 22.55 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/8.204, allocations: 4.875 kB / 4.084 GB, free: 22.55 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007191/8.211, allocations: 3.389 MB / 4.088 GB, free: 22.44 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/8.211, allocations: 23.47 kB / 4.088 GB, free: 22.44 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009222/8.212, allocations: 265.3 kB / 4.088 GB, free: 22.41 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/8.215, allocations: 0.672 MB / 4.089 GB, free: 22.41 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006295/8.221, allocations: 5.945 MB / 4.094 GB, free: 33.4 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004482/8.226, allocations: 464.6 kB / 4.095 GB, free: 33.29 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/8.226, allocations: 161.3 kB / 4.095 GB, free: 33.29 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,chi.booToRea.u,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,$PRE.THeaWatRet.nextEvent,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,$PRE.TChiWatRet.nextEvent,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (342): * Single equations (assignments): 334 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007517/8.227, allocations: 262.7 kB / 4.095 GB, free: 33.11 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006894/8.227, allocations: 0.5199 MB / 4.096 GB, free: 32.83 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008402/8.236, allocations: 4.079 MB / 4.1 GB, free: 32.6 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/8.236, allocations: 31.42 kB / 4.1 GB, free: 32.6 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/8.236, allocations: 0.875 kB / 4.1 GB, free: 32.6 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005189/8.241, allocations: 2.828 MB / 4.103 GB, free: 32.42 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/8.256, allocations: 8.238 MB / 4.111 GB, free: 31.7 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/8.256, allocations: 0 / 4.111 GB, free: 31.7 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002301/8.258, allocations: 490 kB / 4.111 GB, free: 31.7 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/8.259, allocations: 159 kB / 4.111 GB, free: 31.67 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/8.259, allocations: 50.3 kB / 4.111 GB, free: 31.67 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/8.262, allocations: 3.755 MB / 4.115 GB, free: 28.25 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/8.262, allocations: 1.312 kB / 4.115 GB, free: 28.25 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008192/8.27, allocations: 5.368 MB / 4.12 GB, free: 27.43 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00237/8.272, allocations: 1.337 MB / 4.121 GB, free: 26.73 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006839/8.273, allocations: 12.47 kB / 4.122 GB, free: 26.73 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/8.276, allocations: 328.2 kB / 4.122 GB, free: 26.71 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/8.276, allocations: 135.5 kB / 4.122 GB, free: 26.71 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/8.276, allocations: 123.9 kB / 4.122 GB, free: 26.71 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.003922/8.28, allocations: 2.938 MB / 4.125 GB, free: 26.49 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01119/8.291, allocations: 3.188 MB / 4.128 GB, free: 26.02 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.con.conValEva.conPID.I.y,chi.con.conValCon.conPID.I.y,chi.senTConLvg.T,chi.senTConEnt.T,chi.senTEvaEnt.T,chi.senTEvaLvg.T,chi.valEva.vol.dynBal.U,chi.valCon.vol.dynBal.U,senTHeaWatSup.T,senTChiWatSup.T,senTHeaWatRet.T,senTChiWatRet.T) * Number of discrete variables: 16 (chi.booToRea.u,$whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 12 (THeaWatRet.nextEvent,THeaWatRet.last,THeaWatRet.nextEventScaled,THeaWatRet.b,THeaWatRet.a,$whenCondition2,TChiWatRet.nextEvent,TChiWatRet.last,TChiWatRet.nextEventScaled,TChiWatRet.b,TChiWatRet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004219/8.296, allocations: 3.376 MB / 4.131 GB, free: 24.79 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.00778/8.303, allocations: 5.364 MB / 4.137 GB, free: 23.98 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/8.303, allocations: 0.6562 kB / 4.137 GB, free: 23.98 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/8.306, allocations: 1.679 MB / 4.138 GB, free: 23.71 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/8.316, allocations: 2.276 MB / 4.14 GB, free: 23.66 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/8.345, allocations: 10.27 MB / 4.15 GB, free: 21.77 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003421/8.349, allocations: 3.573 MB / 4.154 GB, free: 20.88 MB / 1.073 GB Notification: Performance of SimCode: time 7.21e-07/8.349, allocations: 3.25 kB / 4.154 GB, free: 20.88 MB / 1.073 GB Notification: Performance of Templates: time 0.1797/8.529, allocations: 126.7 MB / 4.278 GB, free: 9.516 MB / 1.089 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & ./Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)