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.915/1.915, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001285/0.001285, allocations: 200.2 kB / 377.1 MB, free: 1.543 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.998/1.998, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.001148/0.001149, allocations: 93.3 kB / 0.7509 GB, free: 63.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004345, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3036, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.817/2.121, allocations: 444.1 MB / 1.422 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/2.121, allocations: 96.39 kB / 1.422 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.536/4.657, allocations: 0.6954 GB / 2.118 GB, free: 147.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.833e-06/4.658, allocations: 1.531 kB / 2.118 GB, free: 147.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003172/4.658, allocations: 37.83 kB / 2.118 GB, free: 147.3 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.006459/4.664, allocations: 2.139 MB / 2.12 GB, free: 146.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/4.664, allocations: 9.781 kB / 2.12 GB, free: 146.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004815/4.665, allocations: 132.9 kB / 2.12 GB, free: 146.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/4.667, allocations: 345.2 kB / 2.12 GB, free: 146.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/4.687, allocations: 8.615 MB / 2.129 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/4.687, allocations: 70.34 kB / 2.129 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/4.687, allocations: 89.81 kB / 2.129 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/4.69, allocations: 1.037 MB / 2.13 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/4.69, allocations: 0 / 2.13 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/4.69, allocations: 33.88 kB / 2.13 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/4.69, allocations: 25.84 kB / 2.13 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/4.692, allocations: 0.7746 MB / 2.131 GB, free: 145.6 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.007158/4.699, allocations: 4.729 MB / 2.135 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/4.7, allocations: 0.5268 MB / 2.136 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002581/4.703, allocations: 1.684 MB / 2.137 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008271/4.704, allocations: 443 kB / 2.138 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006313/4.704, allocations: 76.55 kB / 2.138 GB, free: 142.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.677e-06/4.704, allocations: 4.438 kB / 2.138 GB, free: 142.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.002958/4.707, allocations: 1.325 MB / 2.139 GB, free: 141.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/4.708, allocations: 108.9 kB / 2.139 GB, free: 141.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/4.709, allocations: 1.107 MB / 2.14 GB, free: 141.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.093e-05/4.709, allocations: 37.95 kB / 2.14 GB, free: 141.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005655/4.71, allocations: 0.6538 MB / 2.141 GB, free: 141.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/4.71, allocations: 151.8 kB / 2.141 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/4.71, allocations: 15.59 kB / 2.141 GB, free: 141.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/4.71, allocations: 335.7 kB / 2.142 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006624/4.711, allocations: 266 kB / 2.142 GB, free: 140.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/4.712, allocations: 0.5415 MB / 2.142 GB, free: 140.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007477/4.713, allocations: 356.2 kB / 2.143 GB, free: 140.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/4.713, allocations: 0 / 2.143 GB, free: 140.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002109/4.715, allocations: 1.021 MB / 2.144 GB, free: 140.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006364/4.715, allocations: 2.796 MB / 2.146 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/4.715, allocations: 12.23 kB / 2.146 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/4.716, allocations: 81.47 kB / 2.146 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/4.716, allocations: 160.6 kB / 2.147 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000533/4.717, allocations: 1.127 MB / 2.148 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/4.718, allocations: 81.66 kB / 2.148 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/4.718, allocations: 45.89 kB / 2.148 GB, free: 136.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/4.718, allocations: 7.344 kB / 2.148 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001732/4.72, allocations: 0.8675 MB / 2.149 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/4.72, allocations: 6.344 kB / 2.149 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/4.72, allocations: 91 kB / 2.149 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/4.721, allocations: 152.5 kB / 2.149 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004678/4.721, allocations: 1.132 MB / 2.15 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009485/4.722, allocations: 77.08 kB / 2.15 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/4.722, allocations: 43.69 kB / 2.15 GB, free: 135.3 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 () * 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.0008066/4.723, allocations: 496 kB / 2.151 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/4.723, allocations: 139.7 kB / 2.151 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/4.726, allocations: 1.007 MB / 2.152 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/4.726, allocations: 6.688 kB / 2.152 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/4.726, allocations: 0 / 2.152 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/4.726, allocations: 3.141 kB / 2.152 GB, free: 134.9 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.00405/4.73, allocations: 2.112 MB / 2.154 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/4.73, allocations: 3.234 kB / 2.154 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/4.73, allocations: 100.2 kB / 2.154 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/4.731, allocations: 77.92 kB / 2.154 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/4.731, allocations: 23.62 kB / 2.154 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004578/4.731, allocations: 1.117 MB / 2.155 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/4.731, allocations: 3.375 kB / 2.155 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/4.733, allocations: 1.174 MB / 2.156 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/4.734, allocations: 295.4 kB / 2.157 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/4.734, allocations: 12.44 kB / 2.157 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009372/4.735, allocations: 90.48 kB / 2.157 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/4.735, allocations: 42.61 kB / 2.157 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/4.735, allocations: 32.22 kB / 2.157 GB, free: 132.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001167/4.736, allocations: 0.8685 MB / 2.158 GB, free: 132.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/4.736, allocations: 3.094 kB / 2.158 GB, free: 132.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002678/4.739, allocations: 0.7763 MB / 2.158 GB, free: 132.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) * 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.004243/4.743, allocations: 2.935 MB / 2.161 GB, free: 131 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002557/4.746, allocations: 1.25 MB / 2.162 GB, free: 130.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/4.746, allocations: 3.062 kB / 2.162 GB, free: 130.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008093/4.746, allocations: 429.2 kB / 2.163 GB, free: 130.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/4.749, allocations: 0.6253 MB / 2.163 GB, free: 130.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006959/4.756, allocations: 8.082 MB / 2.171 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/4.757, allocations: 1.231 MB / 2.173 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001576/4.759, allocations: 294.4 kB / 2.173 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/4.759, allocations: 0.5285 MB / 2.173 GB, free: 123.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/4.759, allocations: 0.5625 kB / 2.173 GB, free: 123.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07883/4.838, allocations: 45.31 MB / 2.218 GB, free: 122 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/4.838, allocations: 278.8 kB / 2.218 GB, free: 121.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.576/8.415, allocations: 1.094 kB / 2.218 GB, free: 121.6 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)