Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008809/0.000881, allocations: 91.52 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009682/0.0009682, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003716, allocations: 15.98 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.709/0.7094, allocations: 142.3 MB / 0.9538 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.05505/0.7645, allocations: 52.67 MB / 1.005 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.7838, allocations: 13.87 MB / 1.019 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.7864, allocations: 59.62 kB / 1.019 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.7892, allocations: 0.6834 MB / 1.02 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005477/0.7947, allocations: 1.733 MB / 1.021 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004125/0.7988, allocations: 1.374 MB / 1.023 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006651/0.8055, allocations: 4.342 MB / 1.027 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00239/0.8079, allocations: 1.022 MB / 1.028 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.8111, allocations: 1.256 MB / 1.029 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.8132, allocations: 0.976 MB / 1.03 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005766/0.8138, allocations: 56 kB / 1.03 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.8171, allocations: 1.049 MB / 1.031 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007729/0.8179, allocations: 322.6 kB / 1.031 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000905/0.8188, allocations: 364.9 kB / 1.032 GB, free: 188 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003709/0.8226, allocations: 2.311 MB / 1.034 GB, free: 13.87 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.8226, allocations: 4 kB / 1.034 GB, free: 13.86 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8226, allocations: 0 / 1.034 GB, free: 13.86 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001007/0.8227, allocations: 0 / 1.034 GB, free: 13.86 MB / 0.795 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.004459/0.8272, allocations: 1.828 MB / 1.036 GB, free: 11.97 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.8272, allocations: 15.95 kB / 1.036 GB, free: 11.96 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003261/0.8276, allocations: 127.1 kB / 1.036 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.8298, allocations: 489.5 kB / 1.036 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/0.8337, allocations: 1.601 MB / 1.038 GB, free: 9.688 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005852/0.8343, allocations: 197.8 kB / 1.038 GB, free: 9.496 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.8345, allocations: 88 kB / 1.038 GB, free: 9.41 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.8372, allocations: 1.158 MB / 1.039 GB, free: 8.203 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.8373, allocations: 3.938 kB / 1.039 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.8374, allocations: 32 kB / 1.039 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.8374, allocations: 20 kB / 1.039 GB, free: 8.148 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002836/0.8402, allocations: 1.058 MB / 1.04 GB, free: 7.094 MB / 0.795 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.00784/0.8481, allocations: 5.161 MB / 1.045 GB, free: 1.648 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.8501, allocations: 0.7506 MB / 1.046 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.8512, allocations: 413 kB / 1.047 GB, free: 496 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002793/0.854, allocations: 1.869 MB / 1.048 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.8553, allocations: 0.5375 MB / 1.049 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004919/0.8558, allocations: 75.41 kB / 1.049 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.925e-06/0.8558, allocations: 0 / 1.049 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.003469/0.8593, allocations: 1.29 MB / 1.05 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.8594, allocations: 114.8 kB / 1.05 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.8614, allocations: 1.293 MB / 1.052 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-05/0.8615, allocations: 41.7 kB / 1.052 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006323/0.8622, allocations: 0.6571 MB / 1.052 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.8623, allocations: 142 kB / 1.052 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.8624, allocations: 15.98 kB / 1.052 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8625, allocations: 330 kB / 1.053 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.8636, allocations: 397.1 kB / 1.053 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.8649, allocations: 0.6551 MB / 1.054 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.866, allocations: 470.1 kB / 1.054 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.866, allocations: 4 kB / 1.054 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002952/0.869, allocations: 1.204 MB / 1.055 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002698/0.8693, allocations: 335.5 kB / 1.056 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.8693, allocations: 8 kB / 1.056 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.8693, allocations: 8 kB / 1.056 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000878/0.8702, allocations: 219.7 kB / 1.056 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.8703, allocations: 8 kB / 1.056 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.8716, allocations: 136.4 kB / 1.056 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.8717, allocations: 43.98 kB / 1.056 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8717, allocations: 5.875 kB / 1.056 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002384/0.8741, allocations: 1.036 MB / 1.057 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.8742, allocations: 8.625 kB / 1.057 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.8742, allocations: 15.94 kB / 1.057 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/0.8749, allocations: 195.8 kB / 1.057 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.875, allocations: 15.94 kB / 1.057 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.8761, allocations: 120.5 kB / 1.058 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/0.8762, allocations: 39.98 kB / 1.058 GB, free: 4.738 MB / 0.8106 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 (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.0008394/0.877, allocations: 0.4946 MB / 1.058 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/0.8774, allocations: 134.3 kB / 1.058 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.8804, allocations: 1.136 MB / 1.059 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.8804, allocations: 4.062 kB / 1.059 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.8804, allocations: 4 kB / 1.059 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.8804, allocations: 7.984 kB / 1.059 GB, free: 2.941 MB / 0.8106 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.004874/0.8853, allocations: 2.399 MB / 1.062 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.8853, allocations: 3.953 kB / 1.062 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000686/0.886, allocations: 147.9 kB / 1.062 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.067e-05/0.8861, allocations: 4 kB / 1.062 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.8861, allocations: 19.98 kB / 1.062 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.8861, allocations: 7.984 kB / 1.062 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8861, allocations: 3.938 kB / 1.062 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.8889, allocations: 1.244 MB / 1.063 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007177/0.8896, allocations: 315.2 kB / 1.063 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/0.89, allocations: 15.92 kB / 1.063 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.8913, allocations: 131.9 kB / 1.063 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.8914, allocations: 40.22 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/0.8915, allocations: 27.97 kB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00173/0.8932, allocations: 0.8833 MB / 1.064 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8933, allocations: 0 / 1.064 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002538/0.8958, allocations: 0.7016 MB / 1.065 GB, free: 12.87 MB / 0.8262 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 (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.004064/0.8999, allocations: 2.131 MB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003805/0.9037, allocations: 1.583 MB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.9037, allocations: 4.125 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.9049, allocations: 0.5231 MB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.9081, allocations: 0.6089 MB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02192/0.93, allocations: 8.59 MB / 1.078 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.931, allocations: 1.202 MB / 1.079 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001571/0.9326, allocations: 292.5 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008383/0.9335, allocations: 0.5344 MB / 1.08 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of SimCode: time 8.41e-07/0.9335, allocations: 3.938 kB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07254/1.006, allocations: 38.99 MB / 1.118 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/1.006, allocations: 264.4 kB / 1.119 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.795, allocations: 0 / 1.119 GB, free: 6.156 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)