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.548/2.548, allocations: 387.1 MB / 399.7 MB, free: 9.566 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.00166/0.001661, allocations: 180.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.792/1.792, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.001226/0.001226, allocations: 90.86 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.115e-05/4.164e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4104, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.706/2.117, allocations: 441.4 MB / 1.644 GB, free: 5.297 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003788/2.117, allocations: 100.1 kB / 1.644 GB, free: 5.242 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.098/6.215, allocations: 0.7042 GB / 2.348 GB, free: 267.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.595e-06/6.215, allocations: 3.25 kB / 2.348 GB, free: 267.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005638/6.215, allocations: 40.88 kB / 2.348 GB, free: 267.2 MB / 1.151 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.008271/6.224, allocations: 1.712 MB / 2.35 GB, free: 266.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.225e-05/6.224, allocations: 11.38 kB / 2.35 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003965/6.224, allocations: 134.5 kB / 2.35 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/6.227, allocations: 437.2 kB / 2.35 GB, free: 266 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02429/6.251, allocations: 8.73 MB / 2.359 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/6.252, allocations: 70.47 kB / 2.359 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/6.252, allocations: 87.09 kB / 2.359 GB, free: 261.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/6.254, allocations: 0.9819 MB / 2.36 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/6.254, allocations: 2.25 kB / 2.36 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.765e-05/6.254, allocations: 35.19 kB / 2.36 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/6.254, allocations: 31.16 kB / 2.36 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/6.256, allocations: 0.6611 MB / 2.36 GB, free: 260.6 MB / 1.151 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.009207/6.265, allocations: 4.781 MB / 2.365 GB, free: 256.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/6.266, allocations: 448.3 kB / 2.366 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/6.266, allocations: 244.3 kB / 2.366 GB, free: 256.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003051/6.269, allocations: 1.713 MB / 2.367 GB, free: 254.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006714/6.27, allocations: 391.7 kB / 2.368 GB, free: 254.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004653/6.27, allocations: 86.23 kB / 2.368 GB, free: 254.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 4.348e-06/6.27, allocations: 0 / 2.368 GB, free: 254.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=47): time 0.001485/6.272, allocations: 0.6794 MB / 2.369 GB, free: 254 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/6.272, allocations: 114.6 kB / 2.369 GB, free: 253.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/6.274, allocations: 1.105 MB / 2.37 GB, free: 253.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/6.274, allocations: 37.64 kB / 2.37 GB, free: 253.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006815/6.275, allocations: 0.6539 MB / 2.37 GB, free: 252.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/6.275, allocations: 153.2 kB / 2.371 GB, free: 252.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/6.275, allocations: 11.94 kB / 2.371 GB, free: 252.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001393/6.275, allocations: 329.9 kB / 2.371 GB, free: 252.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/6.275, allocations: 210.7 kB / 2.371 GB, free: 252.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/6.276, allocations: 0.4928 MB / 2.372 GB, free: 251.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/6.276, allocations: 304.4 kB / 2.372 GB, free: 251.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/6.276, allocations: 6.719 kB / 2.372 GB, free: 251.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001579/6.278, allocations: 0.911 MB / 2.373 GB, free: 251.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001241/6.279, allocations: 2.785 MB / 2.376 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/6.279, allocations: 11.59 kB / 2.376 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/6.28, allocations: 84.55 kB / 2.376 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/6.281, allocations: 164.9 kB / 2.376 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007802/6.281, allocations: 1.124 MB / 2.377 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/6.283, allocations: 100 kB / 2.377 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/6.283, allocations: 42.45 kB / 2.377 GB, free: 247 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/6.283, allocations: 7.391 kB / 2.377 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001431/6.284, allocations: 0.7626 MB / 2.378 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/6.284, allocations: 7.812 kB / 2.378 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/6.285, allocations: 94.78 kB / 2.378 GB, free: 246.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/6.285, allocations: 155.7 kB / 2.378 GB, free: 246.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007274/6.286, allocations: 1.128 MB / 2.379 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/6.287, allocations: 90.23 kB / 2.379 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/6.287, allocations: 39.77 kB / 2.379 GB, free: 245.5 MB / 1.151 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.0003536/6.287, allocations: 180.4 kB / 2.379 GB, free: 245.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/6.288, allocations: 141.7 kB / 2.38 GB, free: 245.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/6.29, allocations: 0.899 MB / 2.38 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/6.29, allocations: 13.52 kB / 2.38 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/6.29, allocations: 0 / 2.38 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/6.29, allocations: 3.938 kB / 2.38 GB, free: 244.8 MB / 1.151 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.003918/6.294, allocations: 2.027 MB / 2.382 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/6.294, allocations: 2.531 kB / 2.382 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/6.294, allocations: 110.2 kB / 2.383 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003335/6.295, allocations: 74.16 kB / 2.383 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/6.295, allocations: 21.56 kB / 2.383 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006336/6.295, allocations: 1.121 MB / 2.384 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/6.296, allocations: 0 / 2.384 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/6.297, allocations: 1.069 MB / 2.385 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/6.298, allocations: 299.1 kB / 2.385 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/6.298, allocations: 17.23 kB / 2.385 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/6.299, allocations: 95.31 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/6.299, allocations: 33.95 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-05/6.299, allocations: 37.41 kB / 2.385 GB, free: 241.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001495/6.301, allocations: 0.8592 MB / 2.386 GB, free: 240.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.82e-07/6.301, allocations: 0 / 2.386 GB, free: 240.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003702/6.304, allocations: 0.7789 MB / 2.387 GB, free: 240.4 MB / 1.151 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.004645/6.309, allocations: 2.844 MB / 2.39 GB, free: 238.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002484/6.311, allocations: 1.134 MB / 2.391 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/6.311, allocations: 0 / 2.391 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005852/6.312, allocations: 379.2 kB / 2.391 GB, free: 237.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/6.316, allocations: 0.6039 MB / 2.392 GB, free: 237.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006186/6.322, allocations: 2.023 MB / 2.394 GB, free: 236.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009564/6.323, allocations: 1.241 MB / 2.395 GB, free: 235.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002175/6.325, allocations: 431.8 kB / 2.395 GB, free: 235.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007272/6.326, allocations: 0.5056 MB / 2.396 GB, free: 234.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.715e-06/6.326, allocations: 0 / 2.396 GB, free: 234.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/6.444, allocations: 49.02 MB / 2.444 GB, free: 194.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002994/6.444, allocations: 253.5 kB / 2.444 GB, free: 193.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.334/10.78, allocations: 1.688 kB / 2.444 GB, free: 193.9 MB / 1.151 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