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.666/2.666, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001353/0.001353, allocations: 181.9 kB / 371 MB, free: 10.84 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.187/2.187, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.0009755/0.000975, allocations: 98.44 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.000469, allocations: 11.28 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2048, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.0705/0.2754, allocations: 52.76 MB / 1.03 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03901/0.3145, allocations: 16.36 MB / 1.046 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.3171, allocations: 55.62 kB / 1.046 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003516/0.3207, allocations: 0.6834 MB / 1.047 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007024/0.3278, allocations: 1.709 MB / 1.048 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006141/0.3339, allocations: 1.379 MB / 1.05 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008356/0.3423, allocations: 4.308 MB / 1.054 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.3447, allocations: 1.006 MB / 1.055 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/0.3485, allocations: 1.26 MB / 1.056 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.3511, allocations: 0.9721 MB / 1.057 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.3515, allocations: 59.94 kB / 1.057 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003853/0.3553, allocations: 1.053 MB / 1.058 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006409/0.356, allocations: 330.6 kB / 1.058 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007038/0.3567, allocations: 356.9 kB / 1.059 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.3613, allocations: 2.315 MB / 1.061 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3613, allocations: 0 / 1.061 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3613, allocations: 0 / 1.061 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.923e-05/0.3614, allocations: 0 / 1.061 GB, free: 7.418 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.004975/0.3664, allocations: 1.83 MB / 1.063 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3664, allocations: 16.03 kB / 1.063 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003025/0.3668, allocations: 131.1 kB / 1.063 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.3698, allocations: 401.6 kB / 1.063 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005387/0.3752, allocations: 1.513 MB / 1.065 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001286/0.3765, allocations: 193.9 kB / 1.065 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003329/0.3769, allocations: 88 kB / 1.065 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00397/0.3809, allocations: 1.122 MB / 1.066 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.381, allocations: 0 / 1.066 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.3811, allocations: 32 kB / 1.066 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.3812, allocations: 20 kB / 1.066 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/0.3855, allocations: 0.9563 MB / 1.067 GB, free: 0.9648 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.6102/0.9958, allocations: 4.992 MB / 1.072 GB, free: 87.87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00375/0.9996, allocations: 0.7233 MB / 1.073 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/1.001, allocations: 381.3 kB / 1.073 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003607/1.005, allocations: 1.836 MB / 1.075 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002032/1.007, allocations: 486.5 kB / 1.075 GB, free: 85.92 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006536/1.008, allocations: 69.61 kB / 1.075 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.296e-06/1.008, allocations: 2.969 kB / 1.075 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.005812/1.014, allocations: 1.203 MB / 1.077 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/1.014, allocations: 84.55 kB / 1.077 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00287/1.017, allocations: 1.286 MB / 1.078 GB, free: 84.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001979/1.017, allocations: 38.8 kB / 1.078 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000767/1.018, allocations: 0.6544 MB / 1.079 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/1.018, allocations: 146 kB / 1.079 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/1.018, allocations: 14.12 kB / 1.079 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.778e-05/1.018, allocations: 331.9 kB / 1.079 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/1.02, allocations: 364.7 kB / 1.079 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/1.022, allocations: 0.6247 MB / 1.08 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/1.024, allocations: 451.9 kB / 1.081 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.679e-06/1.024, allocations: 2.797 kB / 1.081 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00477/1.029, allocations: 1.146 MB / 1.082 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002027/1.029, allocations: 323 kB / 1.082 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.029, allocations: 6.625 kB / 1.082 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.856e-05/1.029, allocations: 11.38 kB / 1.082 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.031, allocations: 202.2 kB / 1.082 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/1.031, allocations: 14.39 kB / 1.082 GB, free: 82.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/1.033, allocations: 123.3 kB / 1.082 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/1.033, allocations: 38.33 kB / 1.082 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.033, allocations: 4.156 kB / 1.082 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003773/1.037, allocations: 0.973 MB / 1.083 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.037, allocations: 7.531 kB / 1.083 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.037, allocations: 11.34 kB / 1.083 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.038, allocations: 186.6 kB / 1.083 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/1.038, allocations: 18.44 kB / 1.083 GB, free: 82.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/1.04, allocations: 108.7 kB / 1.084 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/1.04, allocations: 40.59 kB / 1.084 GB, free: 82.04 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.001072/1.041, allocations: 497.5 kB / 1.084 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/1.042, allocations: 139.4 kB / 1.084 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004652/1.046, allocations: 1.076 MB / 1.085 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/1.046, allocations: 6.703 kB / 1.085 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.046, allocations: 0 / 1.085 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/1.046, allocations: 2.438 kB / 1.085 GB, free: 81.21 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.007111/1.053, allocations: 2.227 MB / 1.087 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/1.053, allocations: 1.781 kB / 1.087 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/1.055, allocations: 145.3 kB / 1.088 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/1.055, allocations: 7.562 kB / 1.088 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/1.055, allocations: 14.94 kB / 1.088 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/1.055, allocations: 4.219 kB / 1.088 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.055, allocations: 2.062 kB / 1.088 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004213/1.059, allocations: 1.116 MB / 1.089 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008128/1.06, allocations: 309.5 kB / 1.089 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/1.06, allocations: 14.14 kB / 1.089 GB, free: 79.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/1.062, allocations: 120.4 kB / 1.089 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/1.062, allocations: 32.59 kB / 1.089 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.062, allocations: 28.56 kB / 1.089 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002252/1.064, allocations: 0.8846 MB / 1.09 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.12e-07/1.064, allocations: 0 / 1.09 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003323/1.068, allocations: 0.6928 MB / 1.091 GB, free: 78.87 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.005876/1.074, allocations: 1.983 MB / 1.093 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005982/1.08, allocations: 1.492 MB / 1.094 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.08, allocations: 1.438 kB / 1.094 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002007/1.082, allocations: 0.5004 MB / 1.095 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005093/1.087, allocations: 0.6222 MB / 1.095 GB, free: 76.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/1.118, allocations: 8.414 MB / 1.103 GB, free: 72.47 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.119, allocations: 1.208 MB / 1.105 GB, free: 71.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002324/1.121, allocations: 296 kB / 1.105 GB, free: 71.63 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/1.123, allocations: 0.5271 MB / 1.105 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/1.123, allocations: 0 / 1.105 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0974/1.22, allocations: 39 MB / 1.144 GB, free: 41.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/1.22, allocations: 272 kB / 1.144 GB, free: 40.97 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.168/5.388, allocations: 0 / 1.144 GB, free: 40.97 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)