Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.63/2.63, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001682/0.001681, allocations: 176.9 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.002972/0.002972, allocations: 98.78 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.000485, allocations: 10.75 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2156, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.426/1.642, allocations: 443 MB / 1.411 GB, free: 3.738 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/1.642, allocations: 105.8 kB / 1.411 GB, free: 3.68 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.707/5.349, allocations: 0.6954 GB / 2.106 GB, free: 73.28 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.825e-06/5.349, allocations: 0 / 2.106 GB, free: 73.28 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002324/5.349, allocations: 35.98 kB / 2.106 GB, free: 73.25 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.007221/5.356, allocations: 2.143 MB / 2.109 GB, free: 71.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/5.356, allocations: 8.031 kB / 2.109 GB, free: 71.03 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004336/5.357, allocations: 135 kB / 2.109 GB, free: 70.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/5.359, allocations: 342.4 kB / 2.109 GB, free: 70.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02807/5.387, allocations: 8.617 MB / 2.117 GB, free: 61.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/5.387, allocations: 70 kB / 2.117 GB, free: 61.74 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/5.388, allocations: 91.98 kB / 2.118 GB, free: 61.65 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/5.391, allocations: 1.035 MB / 2.119 GB, free: 60.57 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/5.391, allocations: 0 / 2.119 GB, free: 60.57 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/5.391, allocations: 36 kB / 2.119 GB, free: 60.53 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/5.391, allocations: 24 kB / 2.119 GB, free: 60.51 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/5.394, allocations: 0.7728 MB / 2.119 GB, free: 59.73 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.008957/5.403, allocations: 4.727 MB / 2.124 GB, free: 54.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/5.405, allocations: 0.5317 MB / 2.125 GB, free: 54.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003176/5.408, allocations: 1.666 MB / 2.126 GB, free: 52.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/5.41, allocations: 438.9 kB / 2.127 GB, free: 51.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007035/5.411, allocations: 87.33 kB / 2.127 GB, free: 51.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.025e-06/5.411, allocations: 0 / 2.127 GB, free: 51.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.004931/5.416, allocations: 1.323 MB / 2.128 GB, free: 50.42 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/5.416, allocations: 114.8 kB / 2.128 GB, free: 50.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/5.419, allocations: 1.11 MB / 2.129 GB, free: 49.17 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003176/5.42, allocations: 41.7 kB / 2.129 GB, free: 49.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00139/5.421, allocations: 0.6532 MB / 2.13 GB, free: 48.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004769/5.422, allocations: 153.8 kB / 2.13 GB, free: 48.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/5.422, allocations: 12 kB / 2.13 GB, free: 48.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001325/5.422, allocations: 337.9 kB / 2.13 GB, free: 47.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/5.424, allocations: 273.1 kB / 2.131 GB, free: 47.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/5.427, allocations: 0.5378 MB / 2.131 GB, free: 47.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/5.429, allocations: 365.7 kB / 2.131 GB, free: 46.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/5.429, allocations: 4 kB / 2.131 GB, free: 46.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.004453/5.433, allocations: 1.012 MB / 2.132 GB, free: 45.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006408/5.434, allocations: 2.791 MB / 2.135 GB, free: 42.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/5.434, allocations: 4 kB / 2.135 GB, free: 42.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006072/5.435, allocations: 85.69 kB / 2.135 GB, free: 42.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/5.436, allocations: 151.8 kB / 2.135 GB, free: 42.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007646/5.437, allocations: 1.136 MB / 2.136 GB, free: 41.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/5.439, allocations: 76.05 kB / 2.137 GB, free: 41.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/5.439, allocations: 44.31 kB / 2.137 GB, free: 41.13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/5.439, allocations: 4 kB / 2.137 GB, free: 41.13 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003103/5.442, allocations: 0.8807 MB / 2.137 GB, free: 40.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/5.442, allocations: 8 kB / 2.137 GB, free: 40.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004423/5.443, allocations: 90.33 kB / 2.138 GB, free: 40.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/5.444, allocations: 147.8 kB / 2.138 GB, free: 39.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007632/5.444, allocations: 1.124 MB / 2.139 GB, free: 38.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/5.446, allocations: 83.89 kB / 2.139 GB, free: 38.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/5.446, allocations: 39.98 kB / 2.139 GB, free: 38.69 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.001208/5.447, allocations: 498.6 kB / 2.139 GB, free: 38.19 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/5.448, allocations: 138.3 kB / 2.14 GB, free: 38.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003898/5.452, allocations: 1.022 MB / 2.141 GB, free: 37.01 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/5.452, allocations: 11.98 kB / 2.141 GB, free: 37 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/5.452, allocations: 0 / 2.141 GB, free: 37 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/5.452, allocations: 0 / 2.141 GB, free: 37 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.006215/5.458, allocations: 2.125 MB / 2.143 GB, free: 34.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-06/5.458, allocations: 0 / 2.143 GB, free: 34.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008778/5.459, allocations: 99.86 kB / 2.143 GB, free: 34.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/5.459, allocations: 77.8 kB / 2.143 GB, free: 34.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.688e-05/5.46, allocations: 23.98 kB / 2.143 GB, free: 34.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007087/5.46, allocations: 1.112 MB / 2.144 GB, free: 33.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/5.46, allocations: 8.156 kB / 2.144 GB, free: 33.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003459/5.464, allocations: 1.172 MB / 2.145 GB, free: 32.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008845/5.465, allocations: 299.1 kB / 2.145 GB, free: 31.85 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002806/5.465, allocations: 16 kB / 2.145 GB, free: 31.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/5.467, allocations: 75.91 kB / 2.145 GB, free: 31.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/5.467, allocations: 39.95 kB / 2.145 GB, free: 31.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/5.467, allocations: 35.97 kB / 2.145 GB, free: 31.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001812/5.469, allocations: 0.8676 MB / 2.146 GB, free: 30.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/5.469, allocations: 0 / 2.146 GB, free: 30.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003444/5.472, allocations: 0.772 MB / 2.147 GB, free: 30.04 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.005756/5.478, allocations: 2.942 MB / 2.15 GB, free: 27.04 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004305/5.482, allocations: 1.244 MB / 2.151 GB, free: 25.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/5.482, allocations: 0 / 2.151 GB, free: 25.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/5.484, allocations: 436.2 kB / 2.152 GB, free: 25.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005078/5.489, allocations: 0.6224 MB / 2.152 GB, free: 24.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00957/5.498, allocations: 8.091 MB / 2.16 GB, free: 16.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008537/5.499, allocations: 1.234 MB / 2.161 GB, free: 15.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002298/5.502, allocations: 290.9 kB / 2.162 GB, free: 14.87 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/5.503, allocations: 0.5344 MB / 2.162 GB, free: 14.34 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/5.503, allocations: 0 / 2.162 GB, free: 14.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8222/6.325, allocations: 45.28 MB / 2.206 GB, free: 155.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/6.325, allocations: 292.1 kB / 2.207 GB, free: 155.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.548/10.87, allocations: 0 / 2.207 GB, free: 155.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)