Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",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.807/1.807, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.0009929/0.0009928, allocations: 176.9 kB / 366.7 MB, free: 1.652 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.715/1.715, allocations: 205.3 MB / 0.626 GB, free: 7.133 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.0009132/0.0009134, allocations: 90.97 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.987e-05/1.989e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8331, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.37/2.203, allocations: 443.4 MB / 1.406 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/2.203, allocations: 98.12 kB / 1.406 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.186/5.389, allocations: 0.6898 GB / 2.096 GB, free: 190.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.424e-06/5.389, allocations: 2.188 kB / 2.096 GB, free: 190.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003649/5.39, allocations: 37.83 kB / 2.096 GB, free: 190.9 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.005935/5.395, allocations: 1.726 MB / 2.098 GB, free: 190.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/5.396, allocations: 7.562 kB / 2.098 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/5.398, allocations: 343.1 kB / 2.098 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02146/5.419, allocations: 8.531 MB / 2.107 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/5.419, allocations: 28.69 kB / 2.107 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004757/5.42, allocations: 50.56 kB / 2.107 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001892/5.422, allocations: 0.6194 MB / 2.107 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/5.424, allocations: 0.857 MB / 2.108 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/5.424, allocations: 6.594 kB / 2.108 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/5.424, allocations: 0 / 2.108 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/5.424, allocations: 22.44 kB / 2.108 GB, free: 189.2 MB / 0.948 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.007205/5.432, allocations: 4.563 MB / 2.113 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/5.432, allocations: 450.1 kB / 2.113 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/5.433, allocations: 236.9 kB / 2.113 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00228/5.435, allocations: 1.651 MB / 2.115 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/5.435, allocations: 365.1 kB / 2.115 GB, free: 185.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003519/5.436, allocations: 62.2 kB / 2.115 GB, free: 185.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.547e-06/5.436, allocations: 0 / 2.115 GB, free: 185.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.00173/5.438, allocations: 0.7166 MB / 2.116 GB, free: 185.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/5.438, allocations: 110.2 kB / 2.116 GB, free: 185.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/5.439, allocations: 0.9599 MB / 2.117 GB, free: 185.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/5.439, allocations: 28.86 kB / 2.117 GB, free: 185.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000528/5.439, allocations: 0.6625 MB / 2.118 GB, free: 185.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/5.44, allocations: 150.9 kB / 2.118 GB, free: 185 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/5.44, allocations: 0 / 2.118 GB, free: 185 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.353e-05/5.44, allocations: 337.9 kB / 2.118 GB, free: 184.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/5.44, allocations: 206.3 kB / 2.118 GB, free: 184.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/5.44, allocations: 484 kB / 2.119 GB, free: 184.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00092/5.441, allocations: 348.7 kB / 2.119 GB, free: 184.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/5.441, allocations: 3.5 kB / 2.119 GB, free: 184.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001732/5.443, allocations: 0.8839 MB / 2.12 GB, free: 184.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007305/5.444, allocations: 2.773 MB / 2.123 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/5.444, allocations: 11.64 kB / 2.123 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/5.444, allocations: 81.34 kB / 2.123 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/5.445, allocations: 154.2 kB / 2.123 GB, free: 181.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006124/5.445, allocations: 1.135 MB / 2.124 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009412/5.446, allocations: 77.75 kB / 2.124 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-05/5.446, allocations: 49.88 kB / 2.124 GB, free: 180.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/5.447, allocations: 6.031 kB / 2.124 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001528/5.448, allocations: 0.7157 MB / 2.125 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/5.448, allocations: 7.094 kB / 2.125 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/5.448, allocations: 77.2 kB / 2.125 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/5.449, allocations: 147.6 kB / 2.125 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005891/5.449, allocations: 1.142 MB / 2.126 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/5.45, allocations: 69.83 kB / 2.126 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/5.45, allocations: 42.52 kB / 2.126 GB, free: 179.2 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.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.0002555/5.451, allocations: 162.7 kB / 2.126 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001395/5.452, allocations: 0.6982 MB / 2.127 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/5.452, allocations: 127.6 kB / 2.127 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/5.454, allocations: 0.8542 MB / 2.128 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/5.454, allocations: 9.328 kB / 2.128 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/5.454, allocations: 3 kB / 2.128 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/5.454, allocations: 3.891 kB / 2.128 GB, free: 178.8 MB / 0.948 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.003189/5.457, allocations: 1.858 MB / 2.13 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/5.457, allocations: 0 / 2.13 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/5.458, allocations: 101.5 kB / 2.13 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/5.458, allocations: 68.59 kB / 2.13 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/5.458, allocations: 17.42 kB / 2.13 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006013/5.459, allocations: 1.129 MB / 2.131 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/5.459, allocations: 3.844 kB / 2.131 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/5.46, allocations: 1.026 MB / 2.132 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/5.461, allocations: 294.1 kB / 2.133 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/5.461, allocations: 7.625 kB / 2.133 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/5.461, allocations: 76.05 kB / 2.133 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/5.462, allocations: 36.94 kB / 2.133 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/5.462, allocations: 33.31 kB / 2.133 GB, free: 176.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00102/5.463, allocations: 0.739 MB / 2.133 GB, free: 176.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/5.463, allocations: 0.6562 kB / 2.133 GB, free: 176.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002666/5.465, allocations: 0.7576 MB / 2.134 GB, free: 176.5 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,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.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.003685/5.469, allocations: 2.729 MB / 2.137 GB, free: 175.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001867/5.471, allocations: 1.085 MB / 2.138 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/5.471, allocations: 0 / 2.138 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000484/5.471, allocations: 359.7 kB / 2.138 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/5.474, allocations: 0.5472 MB / 2.139 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/5.479, allocations: 1.958 MB / 2.141 GB, free: 174.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/5.479, allocations: 1.235 MB / 2.142 GB, free: 173.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001855/5.481, allocations: 404.3 kB / 2.142 GB, free: 173.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006508/5.482, allocations: 0.5025 MB / 2.143 GB, free: 173.5 MB / 0.948 GB Notification: Performance of SimCode: time 3.787e-06/5.482, allocations: 0 / 2.143 GB, free: 173.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09126/5.573, allocations: 40.09 MB / 2.182 GB, free: 167 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/5.573, allocations: 209.8 kB / 2.182 GB, free: 166.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.608/9.181, allocations: 2.969 kB / 2.182 GB, free: 166.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)