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.666/1.666, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001079/0.001079, allocations: 176.9 kB / 361.4 MB, free: 6.875 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.681/1.681, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008483/0.0008486, allocations: 104.9 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.856e-05/1.859e-05, allocations: 0 / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.841/0.8411, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.341/2.182, allocations: 442.4 MB / 1.396 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/2.183, allocations: 93.27 kB / 1.397 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.101/5.284, allocations: 0.6898 GB / 2.086 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.595e-06/5.284, allocations: 0 / 2.086 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003519/5.284, allocations: 42.53 kB / 2.086 GB, free: 182.1 MB / 0.9323 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.005771/5.29, allocations: 1.713 MB / 2.088 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/5.29, allocations: 16.78 kB / 2.088 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/5.292, allocations: 345.7 kB / 2.088 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02128/5.314, allocations: 8.521 MB / 2.097 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/5.314, allocations: 30.12 kB / 2.097 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/5.314, allocations: 57.77 kB / 2.097 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001898/5.316, allocations: 0.6181 MB / 2.097 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/5.318, allocations: 0.8524 MB / 2.098 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/5.318, allocations: 3.844 kB / 2.098 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/5.319, allocations: 6.781 kB / 2.098 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/5.319, allocations: 22.06 kB / 2.098 GB, free: 180.3 MB / 0.9323 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.008259/5.327, allocations: 4.55 MB / 2.103 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/5.328, allocations: 451.2 kB / 2.103 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/5.328, allocations: 236.5 kB / 2.103 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002808/5.331, allocations: 1.644 MB / 2.105 GB, free: 177 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005159/5.331, allocations: 365.1 kB / 2.105 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006608/5.332, allocations: 72.25 kB / 2.105 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 3.927e-06/5.332, allocations: 0 / 2.105 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.002153/5.334, allocations: 0.7147 MB / 2.106 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/5.334, allocations: 110 kB / 2.106 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/5.336, allocations: 0.9631 MB / 2.107 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.091e-05/5.337, allocations: 32.64 kB / 2.107 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007278/5.337, allocations: 0.664 MB / 2.108 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/5.337, allocations: 150.2 kB / 2.108 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/5.337, allocations: 3.625 kB / 2.108 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001004/5.338, allocations: 328.1 kB / 2.108 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/5.338, allocations: 209.5 kB / 2.109 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/5.338, allocations: 489.9 kB / 2.109 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/5.339, allocations: 345.3 kB / 2.109 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/5.339, allocations: 3.594 kB / 2.109 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002076/5.342, allocations: 0.8913 MB / 2.11 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007959/5.342, allocations: 2.773 MB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/5.342, allocations: 7.219 kB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003278/5.343, allocations: 82.06 kB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/5.343, allocations: 156.7 kB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007208/5.344, allocations: 1.134 MB / 2.114 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/5.345, allocations: 71.89 kB / 2.114 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/5.345, allocations: 42.53 kB / 2.114 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/5.345, allocations: 3.938 kB / 2.114 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001711/5.347, allocations: 0.7183 MB / 2.115 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/5.347, allocations: 7.781 kB / 2.115 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/5.347, allocations: 77.03 kB / 2.115 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/5.348, allocations: 156.7 kB / 2.115 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006649/5.349, allocations: 1.136 MB / 2.116 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/5.35, allocations: 69.44 kB / 2.116 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/5.35, allocations: 41.55 kB / 2.116 GB, free: 169 MB / 0.9323 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.0003008/5.35, allocations: 167.3 kB / 2.117 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001714/5.352, allocations: 0.7073 MB / 2.117 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/5.352, allocations: 137.1 kB / 2.117 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/5.354, allocations: 0.8474 MB / 2.118 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/5.354, allocations: 11.19 kB / 2.118 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/5.354, allocations: 2.25 kB / 2.118 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/5.354, allocations: 3.844 kB / 2.118 GB, free: 168.2 MB / 0.9323 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.004174/5.359, allocations: 1.857 MB / 2.12 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/5.359, allocations: 3.406 kB / 2.12 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/5.359, allocations: 106.5 kB / 2.12 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/5.359, allocations: 61.78 kB / 2.12 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/5.359, allocations: 14.56 kB / 2.12 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007214/5.36, allocations: 1.136 MB / 2.121 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/5.36, allocations: 2.844 kB / 2.121 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/5.362, allocations: 1.025 MB / 2.122 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006578/5.362, allocations: 295.2 kB / 2.123 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/5.363, allocations: 7.719 kB / 2.123 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/5.364, allocations: 78.78 kB / 2.123 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/5.364, allocations: 35.52 kB / 2.123 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/5.364, allocations: 35.8 kB / 2.123 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001441/5.365, allocations: 0.7363 MB / 2.124 GB, free: 165 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/5.365, allocations: 3.391 kB / 2.124 GB, free: 165 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003376/5.369, allocations: 0.7517 MB / 2.124 GB, free: 164.8 MB / 0.9323 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.004381/5.373, allocations: 2.759 MB / 2.127 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002003/5.375, allocations: 1.071 MB / 2.128 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/5.375, allocations: 3.25 kB / 2.128 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/5.376, allocations: 368.7 kB / 2.128 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/5.379, allocations: 0.5401 MB / 2.129 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005837/5.385, allocations: 1.953 MB / 2.131 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/5.386, allocations: 1.24 MB / 2.132 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002725/5.389, allocations: 404.9 kB / 2.132 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009416/5.39, allocations: 0.5019 MB / 2.133 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of SimCode: time 2.865e-06/5.39, allocations: 0 / 2.133 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08898/5.479, allocations: 40.09 MB / 2.172 GB, free: 146.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/5.479, allocations: 222.7 kB / 2.172 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.631/9.11, allocations: 3.516 kB / 2.172 GB, free: 146.4 MB / 0.9323 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)