Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.705/1.705, allocations: 288.2 MB / 303.2 MB, free: 8.262 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.00116/0.00116, allocations: 178.4 kB / 371.8 MB, free: 10.3 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.905/1.905, allocations: 205.4 MB / 0.6305 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 97.09 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004591, allocations: 11.03 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2538, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.399, allocations: 443.2 MB / 1.412 GB, free: 2.227 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/1.4, allocations: 100.4 kB / 1.412 GB, free: 2.172 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.674/4.074, allocations: 0.6954 GB / 2.108 GB, free: 70.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.005e-06/4.074, allocations: 0 / 2.108 GB, free: 70.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003199/4.074, allocations: 47.92 kB / 2.108 GB, free: 70.66 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.007159/4.081, allocations: 2.134 MB / 2.11 GB, free: 68.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/4.081, allocations: 12.02 kB / 2.11 GB, free: 68.45 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005199/4.082, allocations: 127.1 kB / 2.11 GB, free: 68.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/4.084, allocations: 354.3 kB / 2.11 GB, free: 67.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01982/4.104, allocations: 8.602 MB / 2.119 GB, free: 59.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/4.104, allocations: 74 kB / 2.119 GB, free: 59.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003757/4.104, allocations: 88 kB / 2.119 GB, free: 59.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/4.107, allocations: 1.038 MB / 2.12 GB, free: 57.99 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/4.107, allocations: 3.938 kB / 2.12 GB, free: 57.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/4.107, allocations: 39.92 kB / 2.12 GB, free: 57.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/4.107, allocations: 20 kB / 2.12 GB, free: 57.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/4.109, allocations: 0.7806 MB / 2.121 GB, free: 57.14 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007577/4.117, allocations: 4.716 MB / 2.125 GB, free: 52.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/4.118, allocations: 0.5291 MB / 2.126 GB, free: 51.63 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002649/4.121, allocations: 1.665 MB / 2.128 GB, free: 49.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008571/4.122, allocations: 453.3 kB / 2.128 GB, free: 49.32 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007632/4.123, allocations: 75.41 kB / 2.128 GB, free: 49.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 4.909e-06/4.123, allocations: 0 / 2.128 GB, free: 49.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.003027/4.126, allocations: 1.325 MB / 2.129 GB, free: 47.85 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/4.126, allocations: 106.8 kB / 2.129 GB, free: 47.72 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/4.128, allocations: 1.117 MB / 2.13 GB, free: 46.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.405e-05/4.128, allocations: 41.7 kB / 2.131 GB, free: 46.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006004/4.129, allocations: 0.6456 MB / 2.131 GB, free: 45.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/4.129, allocations: 165.7 kB / 2.131 GB, free: 45.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/4.129, allocations: 8 kB / 2.131 GB, free: 45.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/4.129, allocations: 335.5 kB / 2.132 GB, free: 45.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/4.129, allocations: 269.1 kB / 2.132 GB, free: 45.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007199/4.13, allocations: 0.5444 MB / 2.132 GB, free: 44.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/4.131, allocations: 357.5 kB / 2.133 GB, free: 44.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/4.131, allocations: 0 / 2.133 GB, free: 44.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002115/4.133, allocations: 1.019 MB / 2.134 GB, free: 43.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006668/4.134, allocations: 2.787 MB / 2.136 GB, free: 40.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/4.134, allocations: 8 kB / 2.137 GB, free: 40.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004353/4.134, allocations: 93.62 kB / 2.137 GB, free: 40.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/4.135, allocations: 155.8 kB / 2.137 GB, free: 39.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005774/4.135, allocations: 1.132 MB / 2.138 GB, free: 38.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/4.137, allocations: 84.06 kB / 2.138 GB, free: 38.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/4.137, allocations: 43.97 kB / 2.138 GB, free: 38.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/4.137, allocations: 8.734 kB / 2.138 GB, free: 38.54 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001705/4.138, allocations: 0.8696 MB / 2.139 GB, free: 37.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/4.139, allocations: 11.94 kB / 2.139 GB, free: 37.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/4.139, allocations: 89.61 kB / 2.139 GB, free: 37.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/4.139, allocations: 143.9 kB / 2.139 GB, free: 37.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005277/4.14, allocations: 1.124 MB / 2.14 GB, free: 36.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/4.141, allocations: 83.91 kB / 2.14 GB, free: 36.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.995e-05/4.141, allocations: 39.98 kB / 2.14 GB, free: 36.11 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001056/4.142, allocations: 0.4962 MB / 2.141 GB, free: 35.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/4.142, allocations: 142.3 kB / 2.141 GB, free: 35.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/4.145, allocations: 0.9987 MB / 2.142 GB, free: 34.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/4.145, allocations: 12 kB / 2.142 GB, free: 34.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/4.145, allocations: 0 / 2.142 GB, free: 34.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/4.145, allocations: 3.984 kB / 2.142 GB, free: 34.42 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/4.149, allocations: 2.11 MB / 2.144 GB, free: 32.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/4.149, allocations: 8.062 kB / 2.144 GB, free: 32.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/4.15, allocations: 104 kB / 2.144 GB, free: 32.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002726/4.15, allocations: 73.67 kB / 2.144 GB, free: 32.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/4.15, allocations: 19.98 kB / 2.144 GB, free: 32.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004739/4.15, allocations: 1.12 MB / 2.145 GB, free: 30.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/4.151, allocations: 3.938 kB / 2.145 GB, free: 30.85 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/4.152, allocations: 1.179 MB / 2.146 GB, free: 29.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/4.153, allocations: 299.3 kB / 2.147 GB, free: 29.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003362/4.153, allocations: 12 kB / 2.147 GB, free: 29.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/4.155, allocations: 83.92 kB / 2.147 GB, free: 29.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/4.155, allocations: 35.89 kB / 2.147 GB, free: 29.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/4.155, allocations: 31.97 kB / 2.147 GB, free: 29.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001476/4.156, allocations: 0.8715 MB / 2.148 GB, free: 28.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/4.156, allocations: 0 / 2.148 GB, free: 28.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003105/4.159, allocations: 0.7759 MB / 2.148 GB, free: 27.46 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004185/4.164, allocations: 2.943 MB / 2.151 GB, free: 24.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002554/4.166, allocations: 1.249 MB / 2.153 GB, free: 23.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/4.166, allocations: 0 / 2.153 GB, free: 23.19 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007538/4.167, allocations: 424 kB / 2.153 GB, free: 22.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/4.17, allocations: 0.6239 MB / 2.154 GB, free: 22.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007948/4.178, allocations: 8.081 MB / 2.161 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009472/4.179, allocations: 1.241 MB / 2.163 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001702/4.181, allocations: 294.8 kB / 2.163 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007751/4.181, allocations: 0.5344 MB / 2.163 GB, free: 11.76 MB / 0.948 GB Notification: Performance of SimCode: time 2.024e-06/4.181, allocations: 0 / 2.163 GB, free: 11.76 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6864/4.868, allocations: 45.29 MB / 2.208 GB, free: 154.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/4.868, allocations: 293.5 kB / 2.208 GB, free: 154 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.541/8.409, allocations: 0 / 2.208 GB, free: 154 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)