Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") [: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.488/1.488, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001116/0.001116, allocations: 173.3 kB / 366.3 MB, free: 2 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.27/1.27, allocations: 205.1 MB / 0.6256 GB, free: 5.902 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.0008446/0.0008446, allocations: 89.86 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.861e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.504/0.504, allocations: 116.3 MB / 0.9725 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9125/1.417, allocations: 486.8 MB / 1.448 GB, free: 3.438 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/1.417, allocations: 87.39 kB / 1.448 GB, free: 3.395 MB / 0.823 GB Notification: Performance of FrontEnd: time 19.78/21.2, allocations: 5.395 GB / 6.843 GB, free: 59.95 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.002451/21.2, allocations: 318.4 kB / 6.843 GB, free: 59.95 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.03163/21.24, allocations: 10.67 MB / 6.853 GB, free: 57.99 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/21.24, allocations: 10.72 kB / 6.853 GB, free: 57.99 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/21.25, allocations: 2.631 MB / 6.856 GB, free: 57.27 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05265/21.3, allocations: 19.28 MB / 6.875 GB, free: 55.24 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005082/21.3, allocations: 238.9 kB / 6.875 GB, free: 55.24 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002519/21.31, allocations: 446 kB / 6.876 GB, free: 55.24 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01375/21.32, allocations: 5.624 MB / 6.881 GB, free: 55.21 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/21.34, allocations: 7.311 MB / 6.888 GB, free: 54.03 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/21.34, allocations: 21.47 kB / 6.888 GB, free: 54.03 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009238/21.34, allocations: 14.62 kB / 6.888 GB, free: 54.03 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/21.34, allocations: 202.6 kB / 6.888 GB, free: 54.03 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06453/21.4, allocations: 47.48 MB / 6.935 GB, free: 42.88 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/21.41, allocations: 2.065 MB / 6.937 GB, free: 42.85 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002585/21.41, allocations: 2.022 MB / 6.939 GB, free: 42.82 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01853/21.43, allocations: 9.477 MB / 6.948 GB, free: 38.98 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002559/21.43, allocations: 1.879 MB / 6.95 GB, free: 38.88 MB / 1.229 GB Notification: Performance of pre-optimization done (n=339): time 5.249e-06/21.43, allocations: 0 / 6.95 GB, free: 38.88 MB / 1.229 GB Notification: Performance of matching and sorting (n=339): time 0.01018/21.44, allocations: 4.457 MB / 6.954 GB, free: 38.17 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/21.44, allocations: 87.95 kB / 6.954 GB, free: 38.1 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01475/21.46, allocations: 7.675 MB / 6.962 GB, free: 37.52 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.001084/21.46, allocations: 39.02 kB / 6.962 GB, free: 37.48 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.003383/21.46, allocations: 3.226 MB / 6.965 GB, free: 35.9 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.002702/21.46, allocations: 1.138 MB / 6.966 GB, free: 35.16 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/21.46, allocations: 0 / 6.966 GB, free: 35.16 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.000274/21.46, allocations: 494.3 kB / 6.967 GB, free: 34.84 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/21.47, allocations: 1.501 MB / 6.968 GB, free: 34.82 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/21.47, allocations: 3.584 MB / 6.972 GB, free: 32.21 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005429/21.47, allocations: 2.431 MB / 6.974 GB, free: 32.15 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.773e-05/21.47, allocations: 19.19 kB / 6.974 GB, free: 32.15 MB / 1.229 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.01308/21.49, allocations: 6.004 MB / 6.98 GB, free: 31.46 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01112/21.5, allocations: 31.11 MB / 7.01 GB, free: 30.36 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/21.5, allocations: 56.12 kB / 7.01 GB, free: 30.36 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/21.5, allocations: 496.8 kB / 7.011 GB, free: 30.28 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0052/21.5, allocations: 1.13 MB / 7.012 GB, free: 30.28 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/21.51, allocations: 8.228 MB / 7.02 GB, free: 23.57 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/21.52, allocations: 0.8808 MB / 7.021 GB, free: 23.31 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009836/21.52, allocations: 265.9 kB / 7.021 GB, free: 23.31 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/21.52, allocations: 3.594 kB / 7.021 GB, free: 23.31 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01002/21.53, allocations: 4.8 MB / 7.026 GB, free: 23.14 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.504e-05/21.53, allocations: 51.59 kB / 7.026 GB, free: 23.14 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/21.53, allocations: 499 kB / 7.026 GB, free: 23.06 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/21.54, allocations: 1.103 MB / 7.027 GB, free: 23.06 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005838/21.54, allocations: 8.236 MB / 7.035 GB, free: 16.35 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/21.55, allocations: 0.7821 MB / 7.036 GB, free: 16.14 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007761/21.56, allocations: 251.4 kB / 7.036 GB, free: 16.14 MB / 1.261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo1.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea1.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001524/21.56, allocations: 294.6 kB / 7.037 GB, free: 16 MB / 1.261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002393/21.56, allocations: 0.968 MB / 7.038 GB, free: 15.49 MB / 1.261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/21.57, allocations: 5.252 MB / 7.043 GB, free: 15.16 MB / 1.261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.708e-05/21.57, allocations: 37.34 kB / 7.043 GB, free: 15.16 MB / 1.261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/21.57, allocations: 2.5 kB / 7.043 GB, free: 15.16 MB / 1.261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006228/21.58, allocations: 3.524 MB / 7.046 GB, free: 14.92 MB / 1.261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/21.6, allocations: 11.55 MB / 7.057 GB, free: 14.21 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/21.6, allocations: 3.906 kB / 7.057 GB, free: 14.21 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003425/21.61, allocations: 0.7258 MB / 7.058 GB, free: 14.21 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/21.61, allocations: 428.9 kB / 7.059 GB, free: 14.13 MB / 1.261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/21.61, allocations: 72.55 kB / 7.059 GB, free: 14.13 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006163/21.61, allocations: 8.142 MB / 7.067 GB, free: 23.42 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/21.61, allocations: 0 / 7.067 GB, free: 23.42 MB / 1.276 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01317/21.63, allocations: 6.952 MB / 7.073 GB, free: 22.33 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007844/21.64, allocations: 1.769 MB / 7.075 GB, free: 21.68 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003757/21.64, allocations: 13.34 kB / 7.075 GB, free: 21.68 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008634/21.65, allocations: 0.5883 MB / 7.076 GB, free: 21.64 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003807/21.65, allocations: 199.3 kB / 7.076 GB, free: 21.64 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006563/21.65, allocations: 195.1 kB / 7.076 GB, free: 21.64 MB / 1.276 GB Notification: Performance of sort global known variables: time 0.01286/21.66, allocations: 5.767 MB / 7.082 GB, free: 21.35 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.02725/21.69, allocations: 5.622 MB / 7.087 GB, free: 20.46 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01466/21.7, allocations: 6.506 MB / 7.093 GB, free: 17.41 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.01514/21.72, allocations: 7.365 MB / 7.101 GB, free: 16.87 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/21.72, allocations: 2.5 kB / 7.101 GB, free: 16.87 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.003557/21.72, allocations: 2.113 MB / 7.103 GB, free: 16.65 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02521/21.75, allocations: 4.509 MB / 7.107 GB, free: 16.56 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04754/21.8, allocations: 15.3 MB / 7.122 GB, free: 13.18 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01255/21.81, allocations: 6.505 MB / 7.128 GB, free: 12.25 MB / 1.276 GB Notification: Performance of SimCode: time 1.002e-06/21.81, allocations: 2.844 kB / 7.128 GB, free: 12.25 MB / 1.276 GB Notification: Performance of Templates: time 1.166/22.97, allocations: 224.1 MB / 7.347 GB, free: 216.5 MB / 1.307 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)