Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.CoolingSubstation,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",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 2.109/2.109, allocations: 292.6 MB / 307.5 MB, free: 5.082 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.001304/0.001304, allocations: 177 kB / 377.1 MB, free: 1.438 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.931/1.931, allocations: 205.4 MB / 0.6366 GB, free: 8.594 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.001468/0.001468, allocations: 97.53 kB / 0.7509 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004657, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3322, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.925/2.257, allocations: 444.1 MB / 1.422 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000439/2.257, allocations: 96.09 kB / 1.422 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.729/4.986, allocations: 0.6954 GB / 2.118 GB, free: 146.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.856e-06/4.986, allocations: 3.062 kB / 2.118 GB, free: 146.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003697/4.986, allocations: 38.5 kB / 2.118 GB, free: 146.6 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.007338/4.994, allocations: 2.136 MB / 2.12 GB, free: 145.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/4.994, allocations: 12.53 kB / 2.12 GB, free: 145.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005371/4.994, allocations: 129.5 kB / 2.12 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/4.997, allocations: 342.5 kB / 2.12 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02444/5.021, allocations: 8.625 MB / 2.129 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/5.021, allocations: 67.84 kB / 2.129 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00042/5.022, allocations: 90.28 kB / 2.129 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/5.025, allocations: 1.031 MB / 2.13 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/5.025, allocations: 3.062 kB / 2.13 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/5.025, allocations: 35.94 kB / 2.13 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/5.025, allocations: 20.59 kB / 2.13 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/5.027, allocations: 0.7769 MB / 2.131 GB, free: 145 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.008982/5.036, allocations: 4.724 MB / 2.135 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/5.037, allocations: 0.5233 MB / 2.136 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002708/5.04, allocations: 1.679 MB / 2.137 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008762/5.041, allocations: 437.1 kB / 2.138 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006308/5.042, allocations: 81.91 kB / 2.138 GB, free: 141.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.435e-06/5.042, allocations: 3.125 kB / 2.138 GB, free: 141.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.002914/5.045, allocations: 1.328 MB / 2.139 GB, free: 141.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/5.045, allocations: 113 kB / 2.139 GB, free: 141 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/5.047, allocations: 1.11 MB / 2.14 GB, free: 140.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.772e-05/5.047, allocations: 43.83 kB / 2.14 GB, free: 140.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006164/5.047, allocations: 0.6552 MB / 2.141 GB, free: 140.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/5.047, allocations: 150.6 kB / 2.141 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/5.047, allocations: 13.38 kB / 2.141 GB, free: 140.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/5.048, allocations: 333.2 kB / 2.142 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/5.048, allocations: 270.9 kB / 2.142 GB, free: 140.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008335/5.049, allocations: 0.5365 MB / 2.142 GB, free: 140 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/5.05, allocations: 355.1 kB / 2.143 GB, free: 139.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/5.05, allocations: 3.281 kB / 2.143 GB, free: 139.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002219/5.052, allocations: 1.019 MB / 2.144 GB, free: 139.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007429/5.053, allocations: 2.789 MB / 2.146 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/5.053, allocations: 9.656 kB / 2.146 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/5.053, allocations: 82.16 kB / 2.146 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/5.054, allocations: 158.9 kB / 2.147 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000611/5.055, allocations: 1.134 MB / 2.148 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/5.056, allocations: 88.08 kB / 2.148 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/5.056, allocations: 46.08 kB / 2.148 GB, free: 135.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/5.056, allocations: 6.312 kB / 2.148 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001818/5.058, allocations: 0.8683 MB / 2.149 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/5.058, allocations: 6.375 kB / 2.149 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/5.058, allocations: 87.14 kB / 2.149 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/5.059, allocations: 151.8 kB / 2.149 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006051/5.059, allocations: 1.131 MB / 2.15 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/5.061, allocations: 77.56 kB / 2.15 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/5.061, allocations: 42.14 kB / 2.15 GB, free: 134.8 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,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.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.001712/5.062, allocations: 498 kB / 2.151 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/5.063, allocations: 142.5 kB / 2.151 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/5.066, allocations: 1.01 MB / 2.152 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/5.066, allocations: 10.44 kB / 2.152 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/5.066, allocations: 0 / 2.152 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/5.066, allocations: 0 / 2.152 GB, free: 134.3 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.00454/5.07, allocations: 2.113 MB / 2.154 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/5.07, allocations: 0 / 2.154 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/5.071, allocations: 102.6 kB / 2.154 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003371/5.071, allocations: 78.22 kB / 2.154 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/5.071, allocations: 23.92 kB / 2.154 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005818/5.072, allocations: 1.118 MB / 2.155 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/5.072, allocations: 3.5 kB / 2.155 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/5.074, allocations: 1.176 MB / 2.156 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000788/5.075, allocations: 305.1 kB / 2.157 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/5.075, allocations: 12.72 kB / 2.157 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008373/5.076, allocations: 87.05 kB / 2.157 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/5.076, allocations: 36.12 kB / 2.157 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/5.076, allocations: 32.23 kB / 2.157 GB, free: 132.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001498/5.078, allocations: 0.8766 MB / 2.158 GB, free: 132 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/5.078, allocations: 0 / 2.158 GB, free: 132 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003404/5.081, allocations: 0.7711 MB / 2.158 GB, free: 131.9 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,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.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.004857/5.086, allocations: 2.952 MB / 2.161 GB, free: 130.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002804/5.089, allocations: 1.245 MB / 2.162 GB, free: 130.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/5.089, allocations: 0 / 2.162 GB, free: 130.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007984/5.09, allocations: 430.4 kB / 2.163 GB, free: 130.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/5.092, allocations: 0.6219 MB / 2.163 GB, free: 130.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/5.099, allocations: 8.083 MB / 2.171 GB, free: 123.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/5.1, allocations: 1.232 MB / 2.173 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001606/5.101, allocations: 298.8 kB / 2.173 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/5.102, allocations: 0.5274 MB / 2.173 GB, free: 123.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.974e-06/5.102, allocations: 0 / 2.173 GB, free: 123.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/5.204, allocations: 45.31 MB / 2.218 GB, free: 121.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002959/5.205, allocations: 277.8 kB / 2.218 GB, free: 121.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.51/8.714, allocations: 4.359 kB / 2.218 GB, free: 121.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)