Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 289.7 MB / 302.3 MB, free: 2.082 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.00111/0.00111, allocations: 175.4 kB / 371.6 MB, free: 3.426 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.825/1.825, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008563/0.0008565, allocations: 93.84 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.046e-05/5.049e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3216, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.135/2.457, allocations: 444 MB / 1.414 GB, free: 253.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004/2.457, allocations: 98.03 kB / 1.414 GB, free: 253.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.972/6.429, allocations: 0.6932 GB / 2.107 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.074e-06/6.429, allocations: 1.562 kB / 2.107 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002513/6.43, allocations: 38.48 kB / 2.107 GB, free: 150.8 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.004664/6.434, allocations: 1.721 MB / 2.109 GB, free: 150.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.393e-05/6.434, allocations: 11.78 kB / 2.109 GB, free: 150.3 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00025/6.435, allocations: 133.8 kB / 2.109 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/6.436, allocations: 347.4 kB / 2.109 GB, free: 150.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02562/6.462, allocations: 8.542 MB / 2.117 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/6.462, allocations: 67.81 kB / 2.117 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/6.463, allocations: 89.09 kB / 2.118 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/6.465, allocations: 0.97 MB / 2.118 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/6.465, allocations: 0.9375 kB / 2.118 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/6.465, allocations: 37.53 kB / 2.118 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/6.465, allocations: 20.12 kB / 2.119 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/6.466, allocations: 0.6532 MB / 2.119 GB, free: 149.4 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.007404/6.474, allocations: 4.73 MB / 2.124 GB, free: 147.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008702/6.475, allocations: 430.7 kB / 2.124 GB, free: 147.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004127/6.475, allocations: 247.2 kB / 2.124 GB, free: 147.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00265/6.478, allocations: 1.68 MB / 2.126 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005944/6.478, allocations: 378.1 kB / 2.126 GB, free: 146 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004602/6.479, allocations: 78.97 kB / 2.126 GB, free: 146 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=47): time 2.955e-06/6.479, allocations: 2.594 kB / 2.126 GB, free: 146 MB / 0.9636 GB Notification: Performance of matching and sorting (n=47): time 0.001242/6.48, allocations: 0.6867 MB / 2.127 GB, free: 145.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/6.48, allocations: 109.5 kB / 2.127 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/6.482, allocations: 1.098 MB / 2.128 GB, free: 145.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/6.482, allocations: 38.14 kB / 2.128 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000551/6.482, allocations: 0.6524 MB / 2.129 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/6.482, allocations: 152.8 kB / 2.129 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/6.483, allocations: 15.38 kB / 2.129 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/6.483, allocations: 335.5 kB / 2.129 GB, free: 145 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/6.483, allocations: 204.5 kB / 2.13 GB, free: 145 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/6.483, allocations: 499.6 kB / 2.13 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/6.484, allocations: 297.3 kB / 2.13 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/6.484, allocations: 2.312 kB / 2.13 GB, free: 144.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001372/6.485, allocations: 0.9083 MB / 2.131 GB, free: 144.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006379/6.486, allocations: 2.786 MB / 2.134 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/6.486, allocations: 10.28 kB / 2.134 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/6.486, allocations: 84.72 kB / 2.134 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005941/6.487, allocations: 158.3 kB / 2.134 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005801/6.487, allocations: 1.121 MB / 2.135 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/6.489, allocations: 84.45 kB / 2.135 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/6.489, allocations: 40.8 kB / 2.136 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/6.489, allocations: 5.25 kB / 2.136 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00125/6.49, allocations: 0.7604 MB / 2.136 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/6.49, allocations: 5.188 kB / 2.136 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/6.49, allocations: 93.28 kB / 2.136 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/6.491, allocations: 145.9 kB / 2.136 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004733/6.491, allocations: 1.128 MB / 2.138 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/6.492, allocations: 83.73 kB / 2.138 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/6.492, allocations: 39.08 kB / 2.138 GB, free: 139.4 MB / 0.9636 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 () * 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.0002574/6.492, allocations: 179.2 kB / 2.138 GB, free: 139.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/6.493, allocations: 148.6 kB / 2.138 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/6.495, allocations: 0.8933 MB / 2.139 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/6.495, allocations: 6.953 kB / 2.139 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/6.495, allocations: 4.328 kB / 2.139 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/6.495, allocations: 2.766 kB / 2.139 GB, free: 139.1 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.003272/6.498, allocations: 1.995 MB / 2.141 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/6.498, allocations: 5.469 kB / 2.141 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/6.498, allocations: 99.72 kB / 2.141 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002826/6.499, allocations: 82.8 kB / 2.141 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/6.499, allocations: 19.45 kB / 2.141 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005092/6.499, allocations: 1.115 MB / 2.142 GB, free: 137.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/6.499, allocations: 5.625 kB / 2.142 GB, free: 137.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/6.501, allocations: 1.055 MB / 2.143 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005889/6.501, allocations: 304 kB / 2.143 GB, free: 136.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/6.501, allocations: 12.38 kB / 2.143 GB, free: 136.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008246/6.502, allocations: 87.02 kB / 2.144 GB, free: 136.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/6.502, allocations: 38.47 kB / 2.144 GB, free: 136.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/6.502, allocations: 33.34 kB / 2.144 GB, free: 136.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001256/6.504, allocations: 0.861 MB / 2.144 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.5e-07/6.504, allocations: 0 / 2.144 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003082/6.507, allocations: 0.7748 MB / 2.145 GB, free: 136.7 MB / 0.9636 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) * 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.003657/6.51, allocations: 2.83 MB / 2.148 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002026/6.512, allocations: 1.126 MB / 2.149 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/6.512, allocations: 0 / 2.149 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004869/6.513, allocations: 369.5 kB / 2.149 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/6.516, allocations: 0.6241 MB / 2.15 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/6.521, allocations: 2.009 MB / 2.152 GB, free: 134.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007217/6.521, allocations: 1.238 MB / 2.153 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001997/6.523, allocations: 426 kB / 2.154 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007578/6.524, allocations: 0.5118 MB / 2.154 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.814e-06/6.524, allocations: 0.5625 kB / 2.154 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09943/6.624, allocations: 49.1 MB / 2.202 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/6.624, allocations: 248.1 kB / 2.202 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.212/10.84, allocations: 0 / 2.202 GB, free: 131.9 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)