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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.524/2.524, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 178.1 kB / 498.1 MB, free: 5.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.365/2.365, allocations: 223.2 MB / 0.7948 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 100.3 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 6.969 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3284, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.572, allocations: 441.4 MB / 1.654 GB, free: 8.195 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.572, allocations: 99.19 kB / 1.654 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.854/4.426, allocations: 0.7064 GB / 2.361 GB, free: 251.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.763e-06/4.426, allocations: 0 / 2.361 GB, free: 251.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002591/4.427, allocations: 39.89 kB / 2.361 GB, free: 251.6 MB / 1.167 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.006553/4.433, allocations: 2.143 MB / 2.363 GB, free: 250.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/4.433, allocations: 12.81 kB / 2.363 GB, free: 250.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004224/4.434, allocations: 128.3 kB / 2.363 GB, free: 250.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/4.436, allocations: 434.2 kB / 2.363 GB, free: 250.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02246/4.459, allocations: 8.809 MB / 2.372 GB, free: 250.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/4.459, allocations: 66.28 kB / 2.372 GB, free: 250.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/4.459, allocations: 91.31 kB / 2.372 GB, free: 250.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/4.462, allocations: 1.058 MB / 2.373 GB, free: 250 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/4.462, allocations: 3.844 kB / 2.373 GB, free: 250 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/4.462, allocations: 31.53 kB / 2.373 GB, free: 250 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/4.462, allocations: 38.67 kB / 2.373 GB, free: 250 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/4.464, allocations: 0.8207 MB / 2.374 GB, free: 250 MB / 1.167 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.008442/4.473, allocations: 4.781 MB / 2.379 GB, free: 247.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/4.474, allocations: 0.5716 MB / 2.379 GB, free: 247.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002735/4.477, allocations: 1.7 MB / 2.381 GB, free: 246.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009252/4.478, allocations: 472.1 kB / 2.381 GB, free: 246.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006982/4.479, allocations: 83.62 kB / 2.381 GB, free: 246.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 4.108e-06/4.479, allocations: 0 / 2.381 GB, free: 246.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=47): time 0.003192/4.482, allocations: 1.372 MB / 2.383 GB, free: 246.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/4.482, allocations: 120 kB / 2.383 GB, free: 246 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/4.484, allocations: 1.114 MB / 2.384 GB, free: 245.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.98e-05/4.484, allocations: 36.36 kB / 2.384 GB, free: 245.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/4.485, allocations: 0.6508 MB / 2.385 GB, free: 245.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/4.485, allocations: 161.5 kB / 2.385 GB, free: 245.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/4.485, allocations: 14.38 kB / 2.385 GB, free: 245.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/4.485, allocations: 334.1 kB / 2.385 GB, free: 245.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007172/4.486, allocations: 290.3 kB / 2.385 GB, free: 245.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008132/4.486, allocations: 0.5662 MB / 2.386 GB, free: 245 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008076/4.487, allocations: 366.4 kB / 2.386 GB, free: 244.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/4.487, allocations: 3.406 kB / 2.386 GB, free: 244.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002479/4.49, allocations: 1.055 MB / 2.387 GB, free: 244.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000622/4.49, allocations: 2.788 MB / 2.39 GB, free: 241.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/4.49, allocations: 7.281 kB / 2.39 GB, free: 241.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/4.491, allocations: 89.09 kB / 2.39 GB, free: 241.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/4.492, allocations: 163.5 kB / 2.39 GB, free: 241.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006006/4.492, allocations: 1.133 MB / 2.391 GB, free: 240.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/4.493, allocations: 91.53 kB / 2.391 GB, free: 240.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/4.494, allocations: 45.03 kB / 2.391 GB, free: 240.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/4.494, allocations: 5.094 kB / 2.391 GB, free: 240.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002017/4.496, allocations: 0.9148 MB / 2.392 GB, free: 240.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/4.496, allocations: 10.53 kB / 2.392 GB, free: 240.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/4.496, allocations: 84.88 kB / 2.392 GB, free: 240.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/4.497, allocations: 156.4 kB / 2.393 GB, free: 240.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005248/4.497, allocations: 1.128 MB / 2.394 GB, free: 239.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/4.498, allocations: 85.95 kB / 2.394 GB, free: 239.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/4.499, allocations: 46.97 kB / 2.394 GB, free: 239.8 MB / 1.167 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 (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.001048/4.5, allocations: 0.4888 MB / 2.394 GB, free: 239.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/4.5, allocations: 134.2 kB / 2.394 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/4.503, allocations: 1.047 MB / 2.395 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/4.503, allocations: 19.3 kB / 2.395 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/4.503, allocations: 0 / 2.395 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/4.503, allocations: 0 / 2.395 GB, free: 239.4 MB / 1.167 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.004642/4.507, allocations: 2.172 MB / 2.398 GB, free: 238.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/4.507, allocations: 3.188 kB / 2.398 GB, free: 238.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/4.508, allocations: 108.3 kB / 2.398 GB, free: 238.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003594/4.509, allocations: 76.44 kB / 2.398 GB, free: 238.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/4.509, allocations: 24.72 kB / 2.398 GB, free: 238.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006226/4.509, allocations: 1.113 MB / 2.399 GB, free: 237.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/4.509, allocations: 3.719 kB / 2.399 GB, free: 237.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/4.512, allocations: 1.226 MB / 2.4 GB, free: 237.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008241/4.513, allocations: 296.3 kB / 2.4 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003734/4.513, allocations: 18 kB / 2.4 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/4.515, allocations: 96.97 kB / 2.4 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/4.515, allocations: 33.27 kB / 2.4 GB, free: 237.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/4.515, allocations: 33.62 kB / 2.401 GB, free: 237.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001482/4.516, allocations: 0.8715 MB / 2.401 GB, free: 237.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.51e-07/4.516, allocations: 0 / 2.401 GB, free: 237.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003549/4.52, allocations: 0.7796 MB / 2.402 GB, free: 237 MB / 1.167 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 (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.005438/4.525, allocations: 2.988 MB / 2.405 GB, free: 235.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00307/4.528, allocations: 1.307 MB / 2.406 GB, free: 235.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/4.528, allocations: 0 / 2.406 GB, free: 235.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008923/4.529, allocations: 457.2 kB / 2.407 GB, free: 235.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/4.533, allocations: 0.599 MB / 2.407 GB, free: 235.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008856/4.541, allocations: 8.114 MB / 2.415 GB, free: 228.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000963/4.542, allocations: 1.237 MB / 2.416 GB, free: 228.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001823/4.544, allocations: 306.7 kB / 2.417 GB, free: 228.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009285/4.545, allocations: 0.5235 MB / 2.417 GB, free: 228.2 MB / 1.167 GB Notification: Performance of SimCode: time 2.094e-06/4.545, allocations: 0 / 2.417 GB, free: 228.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07416/4.619, allocations: 45.23 MB / 2.461 GB, free: 226.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/4.62, allocations: 283.1 kB / 2.462 GB, free: 226.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.561/8.18, allocations: 0 / 2.462 GB, free: 226.4 MB / 1.167 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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation_res.mat does not exist to compare? outputFormat=mat