Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.CoolingSubstation,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.488/2.488, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.002132/0.002132, allocations: 176.8 kB / 360.6 MB, free: 7.273 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.195/2.195, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001347/0.001346, allocations: 91.19 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.113e-05/2.111e-05, allocations: 0 / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8279/0.8279, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/2.177, allocations: 442.2 MB / 1.395 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/2.177, allocations: 96.44 kB / 1.395 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.681/5.858, allocations: 0.6898 GB / 2.085 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.764e-06/5.858, allocations: 0 / 2.085 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002889/5.859, allocations: 36.5 kB / 2.085 GB, free: 182.3 MB / 0.9323 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.005921/5.865, allocations: 1.723 MB / 2.087 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/5.865, allocations: 13.44 kB / 2.087 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/5.868, allocations: 344.2 kB / 2.087 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02898/5.897, allocations: 8.516 MB / 2.096 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/5.897, allocations: 29.53 kB / 2.096 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/5.897, allocations: 55.06 kB / 2.096 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001915/5.899, allocations: 0.6164 MB / 2.096 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/5.901, allocations: 0.8599 MB / 2.097 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/5.901, allocations: 3 kB / 2.097 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/5.902, allocations: 6.219 kB / 2.097 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/5.902, allocations: 21.5 kB / 2.097 GB, free: 180.5 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.009661/5.911, allocations: 4.559 MB / 2.102 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/5.912, allocations: 449.2 kB / 2.102 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/5.913, allocations: 239.6 kB / 2.102 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003548/5.917, allocations: 1.641 MB / 2.104 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006939/5.917, allocations: 374.2 kB / 2.104 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007618/5.918, allocations: 63.91 kB / 2.104 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 3.366e-06/5.918, allocations: 0.5625 kB / 2.104 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.002989/5.921, allocations: 0.7217 MB / 2.105 GB, free: 177 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/5.921, allocations: 117 kB / 2.105 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/5.923, allocations: 0.9616 MB / 2.106 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000234/5.924, allocations: 29.17 kB / 2.106 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007429/5.924, allocations: 0.657 MB / 2.107 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/5.925, allocations: 154.3 kB / 2.107 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/5.925, allocations: 3.875 kB / 2.107 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.696e-05/5.925, allocations: 327.2 kB / 2.107 GB, free: 176 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/5.925, allocations: 212.9 kB / 2.107 GB, free: 176 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/5.926, allocations: 478.9 kB / 2.108 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/5.927, allocations: 353.3 kB / 2.108 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/5.927, allocations: 2.938 kB / 2.108 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003139/5.931, allocations: 0.8876 MB / 2.109 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006954/5.931, allocations: 2.778 MB / 2.112 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/5.931, allocations: 6.75 kB / 2.112 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/5.932, allocations: 74.31 kB / 2.112 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/5.933, allocations: 159.2 kB / 2.112 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008889/5.934, allocations: 1.137 MB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/5.936, allocations: 70.22 kB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/5.936, allocations: 44.16 kB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/5.936, allocations: 3.969 kB / 2.113 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002652/5.939, allocations: 0.7257 MB / 2.114 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/5.939, allocations: 10.19 kB / 2.114 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003477/5.939, allocations: 79.77 kB / 2.114 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/5.94, allocations: 149.6 kB / 2.114 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008489/5.941, allocations: 1.144 MB / 2.115 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/5.943, allocations: 62.03 kB / 2.115 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/5.943, allocations: 42.78 kB / 2.115 GB, free: 170.1 MB / 0.9323 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 () * 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.0003757/5.943, allocations: 165.4 kB / 2.115 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00272/5.946, allocations: 0.7013 MB / 2.116 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/5.946, allocations: 125.3 kB / 2.116 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/5.949, allocations: 0.8543 MB / 2.117 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/5.949, allocations: 10.31 kB / 2.117 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/5.949, allocations: 2.531 kB / 2.117 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/5.949, allocations: 7.156 kB / 2.117 GB, free: 169.3 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.005051/5.954, allocations: 1.855 MB / 2.119 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/5.955, allocations: 3.875 kB / 2.119 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008775/5.955, allocations: 97.34 kB / 2.119 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/5.956, allocations: 70.47 kB / 2.119 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.251e-05/5.956, allocations: 27.94 kB / 2.119 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008579/5.957, allocations: 1.129 MB / 2.12 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/5.957, allocations: 2.156 kB / 2.12 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/5.959, allocations: 1.022 MB / 2.121 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007823/5.96, allocations: 293.9 kB / 2.122 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/5.96, allocations: 3.969 kB / 2.122 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/5.962, allocations: 73.95 kB / 2.122 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/5.962, allocations: 42.44 kB / 2.122 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/5.962, allocations: 33.02 kB / 2.122 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001537/5.964, allocations: 0.7424 MB / 2.122 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.91e-07/5.964, allocations: 0 / 2.122 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003822/5.968, allocations: 0.7501 MB / 2.123 GB, free: 165.9 MB / 0.9323 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) * 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.005167/5.973, allocations: 2.757 MB / 2.126 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002748/5.976, allocations: 1.069 MB / 2.127 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/5.976, allocations: 0 / 2.127 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008806/5.977, allocations: 374 kB / 2.127 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004354/5.981, allocations: 0.536 MB / 2.128 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/5.988, allocations: 1.95 MB / 2.13 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009112/5.989, allocations: 1.242 MB / 2.131 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003205/5.992, allocations: 406.1 kB / 2.131 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/5.993, allocations: 0.4979 MB / 2.132 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of SimCode: time 2.084e-06/5.993, allocations: 2.734 kB / 2.132 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1228/6.116, allocations: 40.08 MB / 2.171 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/6.116, allocations: 210.8 kB / 2.171 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.352/10.47, allocations: 0 / 2.171 GB, free: 148.8 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)