Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.892/1.892, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001391/0.001391, allocations: 181.9 kB / 371.6 MB, free: 3.422 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.806/1.806, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.001029/0.001029, allocations: 89.7 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.701e-05/4.703e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3052, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.221/2.526, allocations: 444.1 MB / 1.414 GB, free: 253.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/2.527, allocations: 95.39 kB / 1.414 GB, free: 253.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.469/5.996, allocations: 0.6932 GB / 2.107 GB, free: 138.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.445e-06/5.996, allocations: 2.75 kB / 2.107 GB, free: 138.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002285/5.996, allocations: 37.91 kB / 2.107 GB, free: 138.5 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.005724/6.002, allocations: 1.727 MB / 2.109 GB, free: 138 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.352e-05/6.002, allocations: 8.438 kB / 2.109 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003212/6.002, allocations: 130.8 kB / 2.109 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/6.004, allocations: 345 kB / 2.109 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02999/6.034, allocations: 8.538 MB / 2.117 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/6.034, allocations: 71.09 kB / 2.117 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/6.035, allocations: 88.12 kB / 2.117 GB, free: 137.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/6.038, allocations: 0.9675 MB / 2.118 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/6.038, allocations: 1.812 kB / 2.118 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/6.038, allocations: 38.44 kB / 2.118 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/6.038, allocations: 20.22 kB / 2.118 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/6.04, allocations: 0.6526 MB / 2.119 GB, free: 137.1 MB / 0.948 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.009688/6.049, allocations: 4.734 MB / 2.124 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009955/6.05, allocations: 428.8 kB / 2.124 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/6.051, allocations: 246.5 kB / 2.124 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002897/6.054, allocations: 1.683 MB / 2.126 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007132/6.054, allocations: 377.1 kB / 2.126 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006588/6.055, allocations: 82.19 kB / 2.126 GB, free: 133.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.547e-06/6.055, allocations: 0.5625 kB / 2.126 GB, free: 133.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001592/6.057, allocations: 0.6816 MB / 2.127 GB, free: 133.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/6.057, allocations: 109 kB / 2.127 GB, free: 133.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/6.059, allocations: 1.098 MB / 2.128 GB, free: 133.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.5e-05/6.059, allocations: 38.39 kB / 2.128 GB, free: 133.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007142/6.06, allocations: 0.657 MB / 2.129 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/6.06, allocations: 151.4 kB / 2.129 GB, free: 133 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/6.06, allocations: 10.38 kB / 2.129 GB, free: 133 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001162/6.06, allocations: 333.5 kB / 2.129 GB, free: 132.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/6.06, allocations: 208.8 kB / 2.13 GB, free: 132.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/6.061, allocations: 495.1 kB / 2.13 GB, free: 132.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/6.061, allocations: 302.7 kB / 2.13 GB, free: 132.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/6.061, allocations: 3 kB / 2.13 GB, free: 132.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001615/6.063, allocations: 0.9012 MB / 2.131 GB, free: 132.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009274/6.064, allocations: 2.785 MB / 2.134 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/6.064, allocations: 5.156 kB / 2.134 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004915/6.065, allocations: 86.27 kB / 2.134 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/6.065, allocations: 160.2 kB / 2.134 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006975/6.066, allocations: 1.131 MB / 2.135 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/6.067, allocations: 79.14 kB / 2.135 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/6.067, allocations: 46.44 kB / 2.136 GB, free: 128.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/6.067, allocations: 9.219 kB / 2.136 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001354/6.069, allocations: 0.7576 MB / 2.136 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/6.069, allocations: 5.344 kB / 2.136 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/6.069, allocations: 88.19 kB / 2.136 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/6.07, allocations: 147.6 kB / 2.136 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005618/6.07, allocations: 1.133 MB / 2.138 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/6.071, allocations: 81.42 kB / 2.138 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.1e-05/6.071, allocations: 38.89 kB / 2.138 GB, free: 127.1 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.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.0003185/6.072, allocations: 184.2 kB / 2.138 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/6.072, allocations: 139.2 kB / 2.138 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/6.074, allocations: 0.8946 MB / 2.139 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/6.074, allocations: 14.92 kB / 2.139 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/6.074, allocations: 1.125 kB / 2.139 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/6.074, allocations: 3 kB / 2.139 GB, free: 126.8 MB / 0.948 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.00389/6.078, allocations: 1.984 MB / 2.141 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/6.078, allocations: 3.031 kB / 2.141 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/6.079, allocations: 101.2 kB / 2.141 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003062/6.079, allocations: 77.77 kB / 2.141 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/6.079, allocations: 23.98 kB / 2.141 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005849/6.079, allocations: 1.119 MB / 2.142 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/6.079, allocations: 2.25 kB / 2.142 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/6.081, allocations: 1.061 MB / 2.143 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007913/6.082, allocations: 302 kB / 2.143 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/6.082, allocations: 11.88 kB / 2.143 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000849/6.083, allocations: 85.25 kB / 2.144 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/6.083, allocations: 38.83 kB / 2.144 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/6.083, allocations: 34.09 kB / 2.144 GB, free: 124.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001752/6.085, allocations: 0.8591 MB / 2.144 GB, free: 124.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/6.085, allocations: 2.219 kB / 2.144 GB, free: 124.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004303/6.089, allocations: 0.776 MB / 2.145 GB, free: 124.5 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,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) * 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.004798/6.094, allocations: 2.812 MB / 2.148 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002506/6.097, allocations: 1.126 MB / 2.149 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/6.097, allocations: 0 / 2.149 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006154/6.097, allocations: 372.1 kB / 2.149 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00383/6.101, allocations: 0.6184 MB / 2.15 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005202/6.106, allocations: 2.008 MB / 2.152 GB, free: 122.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/6.107, allocations: 1.236 MB / 2.153 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002065/6.109, allocations: 425.6 kB / 2.154 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006822/6.11, allocations: 0.5075 MB / 2.154 GB, free: 121.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.925e-06/6.11, allocations: 0 / 2.154 GB, free: 121.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/6.213, allocations: 49.1 MB / 2.202 GB, free: 120 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/6.213, allocations: 251.8 kB / 2.202 GB, free: 119.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.013/10.23, allocations: 4 kB / 2.202 GB, free: 119.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)