Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel") [: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.357/1.357, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.0009977/0.0009978, allocations: 185.3 kB / 366.3 MB, free: 2.004 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.08/1.08, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0008262/0.0008262, allocations: 89.27 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.332e-06/6.352e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4386, allocations: 116.3 MB / 0.9726 GB, free: 68.77 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6961/1.135, allocations: 447 MB / 1.409 GB, free: 39.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/1.135, allocations: 98.92 kB / 1.409 GB, free: 38.98 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.557/4.692, allocations: 1.344 GB / 2.753 GB, free: 144.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005444/4.693, allocations: 96.98 kB / 2.753 GB, free: 144.4 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.008453/4.701, allocations: 3.609 MB / 2.756 GB, free: 143 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/4.702, allocations: 10.22 kB / 2.756 GB, free: 143 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/4.712, allocations: 1.932 MB / 2.758 GB, free: 142.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00923/4.721, allocations: 5.449 MB / 2.764 GB, free: 142.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/4.721, allocations: 241.2 kB / 2.764 GB, free: 142 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004348/4.722, allocations: 138.5 kB / 2.764 GB, free: 142 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005332/4.727, allocations: 4.322 MB / 2.768 GB, free: 142 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00428/4.732, allocations: 3.6 MB / 2.772 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.891e-05/4.732, allocations: 12.56 kB / 2.772 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/4.732, allocations: 3.219 kB / 2.772 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/4.732, allocations: 62.94 kB / 2.772 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02174/4.754, allocations: 16.56 MB / 2.788 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/4.757, allocations: 2.802 MB / 2.791 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/4.759, allocations: 1.888 MB / 2.793 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006774/4.759, allocations: 1.261 MB / 2.794 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002056/4.761, allocations: 1.946 MB / 2.796 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 4.087e-06/4.761, allocations: 0 / 2.796 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.00561/4.767, allocations: 3.714 MB / 2.799 GB, free: 134.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/4.767, allocations: 228.1 kB / 2.8 GB, free: 134.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/4.771, allocations: 3.445 MB / 2.803 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002944/4.771, allocations: 29.39 kB / 2.803 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008528/4.772, allocations: 0.9303 MB / 2.804 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006092/4.773, allocations: 0.5107 MB / 2.804 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/4.773, allocations: 3.594 kB / 2.804 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/4.773, allocations: 387.4 kB / 2.805 GB, free: 133 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/4.775, allocations: 1.777 MB / 2.807 GB, free: 133 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/4.777, allocations: 2.449 MB / 2.809 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/4.78, allocations: 1.898 MB / 2.811 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/4.78, allocations: 3.812 kB / 2.811 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006233/4.786, allocations: 4.428 MB / 2.815 GB, free: 132 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00056/4.786, allocations: 3.836 MB / 2.819 GB, free: 128 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/4.786, allocations: 9.375 kB / 2.819 GB, free: 128 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003307/4.787, allocations: 177 kB / 2.819 GB, free: 128 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003624/4.79, allocations: 0.7504 MB / 2.82 GB, free: 128 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/4.792, allocations: 1.476 MB / 2.821 GB, free: 127 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/4.796, allocations: 0.5639 MB / 2.822 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002797/4.796, allocations: 129.5 kB / 2.822 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/4.796, allocations: 4.594 kB / 2.822 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005329/4.802, allocations: 3.977 MB / 2.826 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/4.802, allocations: 13.19 kB / 2.826 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/4.802, allocations: 178.8 kB / 2.826 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/4.806, allocations: 0.7513 MB / 2.827 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/4.809, allocations: 3.475 MB / 2.83 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/4.813, allocations: 0.5376 MB / 2.831 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/4.813, allocations: 130.3 kB / 2.831 GB, free: 124.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,chiPar.on[1],$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005963/4.814, allocations: 153.4 kB / 2.831 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000559/4.815, allocations: 333.5 kB / 2.831 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006354/4.821, allocations: 4.159 MB / 2.835 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/4.821, allocations: 17.88 kB / 2.835 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/4.821, allocations: 2.188 kB / 2.835 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004012/4.825, allocations: 3.431 MB / 2.839 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/4.837, allocations: 8.303 MB / 2.847 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/4.837, allocations: 3.812 kB / 2.847 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002926/4.84, allocations: 0.5754 MB / 2.847 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002238/4.84, allocations: 132.6 kB / 2.847 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/4.84, allocations: 40.73 kB / 2.847 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000687/4.841, allocations: 1.343 MB / 2.849 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/4.841, allocations: 3.438 kB / 2.849 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007827/4.849, allocations: 6.498 MB / 2.855 GB, free: 121 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/4.851, allocations: 1.158 MB / 2.856 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006363/4.852, allocations: 17.69 kB / 2.856 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003266/4.855, allocations: 441.6 kB / 2.857 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/4.856, allocations: 115.1 kB / 2.857 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/4.856, allocations: 87.36 kB / 2.857 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003666/4.859, allocations: 2.644 MB / 2.859 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00636/4.866, allocations: 1.898 MB / 2.861 GB, free: 120.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (chiPar.chi[1].vol1.dynBal.U,chiPar.chi[1].vol2.dynBal.U,chiPar.chi[2].vol1.dynBal.U,chiPar.chi[2].vol2.dynBal.U,chiPar.filter[1].x[1],chiPar.filter[1].x[2],chiPar.filter[2].x[1],chiPar.filter[2].x[2]) * Number of discrete variables: 4 ($whenCondition1,chiPar.on[1],pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001949/4.868, allocations: 1.105 MB / 2.862 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008042/4.876, allocations: 6.537 MB / 2.869 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/4.876, allocations: 3.031 kB / 2.869 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002131/4.878, allocations: 1.833 MB / 2.871 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007911/4.886, allocations: 1.79 MB / 2.872 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/4.897, allocations: 7.16 MB / 2.879 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003464/4.901, allocations: 3.363 MB / 2.883 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/4.901, allocations: 0 / 2.883 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.1316/5.032, allocations: 100 MB / 2.98 GB, free: 47.53 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricChillerParallel.pipe 2>&1)