Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.586/2.586, allocations: 287.3 MB / 302.3 MB, free: 8.422 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.001493/0.001493, allocations: 187 kB / 370.8 MB, free: 10.86 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.143/2.143, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.00117/0.00117, allocations: 97.59 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006878/0.000688, allocations: 11.52 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2085, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.0672/0.2757, allocations: 48.05 MB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03363/0.3094, allocations: 15.38 MB / 1.04 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002449/0.3119, allocations: 51.62 kB / 1.04 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004414/0.3164, allocations: 0.8904 MB / 1.041 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009676/0.3261, allocations: 2.195 MB / 1.043 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01234/0.3385, allocations: 2.803 MB / 1.046 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006315/0.3448, allocations: 2.273 MB / 1.048 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/0.3473, allocations: 1.026 MB / 1.049 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003593/0.351, allocations: 1.098 MB / 1.05 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.3529, allocations: 0.6882 MB / 1.051 GB, free: 1.68 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003308/0.3533, allocations: 52 kB / 1.051 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003982/0.3573, allocations: 1.088 MB / 1.052 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007387/0.358, allocations: 314.7 kB / 1.052 GB, free: 236 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007714/0.3588, allocations: 357 kB / 1.053 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00502/0.3639, allocations: 2.299 MB / 1.055 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3639, allocations: 0 / 1.055 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3639, allocations: 0 / 1.055 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.917e-05/0.364, allocations: 0 / 1.055 GB, free: 13.57 MB / 0.6823 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.005447/0.3695, allocations: 1.83 MB / 1.057 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.3695, allocations: 8.031 kB / 1.057 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003764/0.3699, allocations: 131.1 kB / 1.057 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/0.373, allocations: 397.6 kB / 1.057 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/0.3772, allocations: 1.465 MB / 1.059 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001251/0.3785, allocations: 201.9 kB / 1.059 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.3788, allocations: 88 kB / 1.059 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003945/0.3828, allocations: 1.095 MB / 1.06 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.3829, allocations: 4 kB / 1.06 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.383, allocations: 32 kB / 1.06 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.3831, allocations: 24 kB / 1.06 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004544/0.3876, allocations: 0.9407 MB / 1.061 GB, free: 7.203 MB / 0.6823 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.01206/0.3997, allocations: 5.041 MB / 1.066 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003886/0.4037, allocations: 0.7077 MB / 1.067 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6528/1.056, allocations: 1.818 MB / 1.068 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002099/1.059, allocations: 476.8 kB / 1.069 GB, free: 89.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006363/1.059, allocations: 78.59 kB / 1.069 GB, free: 89.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.046e-06/1.059, allocations: 0 / 1.069 GB, free: 89.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.005855/1.065, allocations: 1.247 MB / 1.07 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/1.065, allocations: 91.86 kB / 1.07 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/1.068, allocations: 1.325 MB / 1.072 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001917/1.068, allocations: 39.91 kB / 1.072 GB, free: 88.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007623/1.069, allocations: 0.6519 MB / 1.072 GB, free: 88.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/1.069, allocations: 145.2 kB / 1.072 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/1.069, allocations: 11 kB / 1.072 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/1.07, allocations: 336.5 kB / 1.073 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/1.071, allocations: 355.6 kB / 1.073 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/1.074, allocations: 0.6116 MB / 1.074 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/1.076, allocations: 440 kB / 1.074 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/1.076, allocations: 1.938 kB / 1.074 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004855/1.08, allocations: 1.137 MB / 1.075 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006016/1.081, allocations: 2.686 MB / 1.078 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/1.081, allocations: 11.22 kB / 1.078 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.253e-05/1.081, allocations: 12.45 kB / 1.078 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/1.083, allocations: 206.5 kB / 1.078 GB, free: 83.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/1.083, allocations: 24.17 kB / 1.078 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/1.085, allocations: 120.9 kB / 1.078 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.085, allocations: 43.16 kB / 1.078 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.085, allocations: 4.672 kB / 1.078 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003815/1.089, allocations: 0.9501 MB / 1.079 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/1.089, allocations: 6.859 kB / 1.079 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.089, allocations: 15.53 kB / 1.079 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.09, allocations: 188.4 kB / 1.079 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/1.09, allocations: 19.02 kB / 1.079 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.092, allocations: 110.9 kB / 1.079 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.092, allocations: 40.27 kB / 1.079 GB, free: 83.47 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (76): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00117/1.093, allocations: 494.6 kB / 1.08 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003304/1.094, allocations: 131.1 kB / 1.08 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004717/1.099, allocations: 1.078 MB / 1.081 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/1.099, allocations: 6.016 kB / 1.081 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/1.099, allocations: 5.344 kB / 1.081 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.099, allocations: 2.25 kB / 1.081 GB, free: 82.67 MB / 0.6823 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.00755/1.106, allocations: 2.267 MB / 1.083 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.106, allocations: 1.719 kB / 1.083 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.108, allocations: 145.7 kB / 1.084 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/1.108, allocations: 3.594 kB / 1.084 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.27e-05/1.108, allocations: 20.34 kB / 1.084 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/1.108, allocations: 3.156 kB / 1.084 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/1.108, allocations: 11.38 kB / 1.084 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/1.112, allocations: 1.148 MB / 1.085 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.113, allocations: 326.9 kB / 1.085 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/1.114, allocations: 14.28 kB / 1.085 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.115, allocations: 118 kB / 1.085 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/1.116, allocations: 33.78 kB / 1.085 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.116, allocations: 33.23 kB / 1.085 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002277/1.118, allocations: 0.9145 MB / 1.086 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.11e-07/1.118, allocations: 1.375 kB / 1.086 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003654/1.122, allocations: 0.7136 MB / 1.087 GB, free: 80.17 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006382/1.128, allocations: 2.315 MB / 1.089 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006304/1.135, allocations: 1.483 MB / 1.09 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.589e-06/1.135, allocations: 1.281 kB / 1.09 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002099/1.137, allocations: 491.5 kB / 1.091 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005139/1.142, allocations: 0.6087 MB / 1.092 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/1.153, allocations: 8.009 MB / 1.099 GB, free: 71.31 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/1.155, allocations: 1.238 MB / 1.101 GB, free: 70.54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002453/1.157, allocations: 308.4 kB / 1.101 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.159, allocations: 0.5372 MB / 1.101 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.433e-06/1.159, allocations: 0 / 1.101 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1359/1.295, allocations: 39.04 MB / 1.14 GB, free: 45.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/1.295, allocations: 258.1 kB / 1.14 GB, free: 45.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.904/5.199, allocations: 2.812 kB / 1.14 GB, free: 45.06 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)