Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Plants.Validation.Plant_T,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",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.287/2.287, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001026/0.001026, allocations: 176.8 kB / 487.4 MB, free: 5.039 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.532/1.532, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009427/0.0009425, allocations: 91.97 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.548e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3664, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.363/1.73, allocations: 400.7 MB / 1.597 GB, free: 4.867 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/1.73, allocations: 94 kB / 1.597 GB, free: 4.816 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.954/3.684, allocations: 0.5741 GB / 2.172 GB, free: 29.86 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.954e-06/3.684, allocations: 0 / 2.172 GB, free: 29.86 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.755e-05/3.684, allocations: 23.98 kB / 2.172 GB, free: 29.83 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002265/3.686, allocations: 1.169 MB / 2.173 GB, free: 28.62 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/3.686, allocations: 16.03 kB / 2.173 GB, free: 28.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/3.689, allocations: 494.2 kB / 2.173 GB, free: 28.12 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/3.703, allocations: 7.214 MB / 2.18 GB, free: 20.79 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/3.703, allocations: 20 kB / 2.18 GB, free: 20.77 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/3.703, allocations: 32 kB / 2.18 GB, free: 20.74 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008576/3.704, allocations: 482.6 kB / 2.181 GB, free: 20.27 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008828/3.705, allocations: 0.623 MB / 2.181 GB, free: 19.61 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/3.705, allocations: 3.938 kB / 2.181 GB, free: 19.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/3.705, allocations: 0 / 2.181 GB, free: 19.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/3.705, allocations: 33.25 kB / 2.181 GB, free: 19.57 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.005141/3.71, allocations: 4.505 MB / 2.186 GB, free: 14.68 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/3.712, allocations: 0.6192 MB / 2.186 GB, free: 14.05 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/3.713, allocations: 216.7 kB / 2.187 GB, free: 13.84 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000701/3.713, allocations: 0.9337 MB / 2.188 GB, free: 12.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/3.713, allocations: 42.55 kB / 2.188 GB, free: 12.65 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 3.897e-06/3.713, allocations: 0 / 2.188 GB, free: 12.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.001088/3.714, allocations: 485 kB / 2.188 GB, free: 12.17 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/3.714, allocations: 55.41 kB / 2.188 GB, free: 12.11 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/3.715, allocations: 0.5392 MB / 2.189 GB, free: 11.56 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/3.715, allocations: 29.7 kB / 2.189 GB, free: 11.52 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/3.715, allocations: 443.6 kB / 2.189 GB, free: 11.08 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/3.715, allocations: 114.3 kB / 2.189 GB, free: 10.97 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/3.715, allocations: 0 / 2.189 GB, free: 10.97 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.15e-05/3.716, allocations: 326 kB / 2.189 GB, free: 10.64 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/3.716, allocations: 181.1 kB / 2.19 GB, free: 10.46 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/3.716, allocations: 362.7 kB / 2.19 GB, free: 10.03 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/3.717, allocations: 232.8 kB / 2.19 GB, free: 9.805 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/3.717, allocations: 4 kB / 2.19 GB, free: 9.801 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009751/3.718, allocations: 0.5895 MB / 2.191 GB, free: 9.203 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000344/3.718, allocations: 1.663 MB / 2.192 GB, free: 7.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/3.718, allocations: 4 kB / 2.192 GB, free: 7.406 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/3.718, allocations: 8 kB / 2.192 GB, free: 7.398 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/3.719, allocations: 191.7 kB / 2.193 GB, free: 7.211 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/3.719, allocations: 4 kB / 2.193 GB, free: 7.207 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009728/3.72, allocations: 147.5 kB / 2.193 GB, free: 7.062 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/3.72, allocations: 27.98 kB / 2.193 GB, free: 7.035 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/3.72, allocations: 4 kB / 2.193 GB, free: 7.031 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008837/3.721, allocations: 0.4911 MB / 2.193 GB, free: 6.539 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/3.721, allocations: 7.953 kB / 2.193 GB, free: 6.531 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/3.721, allocations: 8 kB / 2.193 GB, free: 6.523 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/3.722, allocations: 192.3 kB / 2.193 GB, free: 6.336 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/3.722, allocations: 4 kB / 2.193 GB, free: 6.332 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009076/3.723, allocations: 143.5 kB / 2.194 GB, free: 6.191 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/3.723, allocations: 27.98 kB / 2.194 GB, free: 6.164 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001428/3.723, allocations: 128.8 kB / 2.194 GB, free: 6.031 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008705/3.724, allocations: 484.4 kB / 2.194 GB, free: 5.551 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/3.724, allocations: 82.95 kB / 2.194 GB, free: 5.469 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/3.725, allocations: 0.6664 MB / 2.195 GB, free: 4.801 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/3.725, allocations: 7.984 kB / 2.195 GB, free: 4.793 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/3.725, allocations: 4 kB / 2.195 GB, free: 4.789 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/3.725, allocations: 0 / 2.195 GB, free: 4.789 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/3.728, allocations: 1.458 MB / 2.196 GB, free: 3.277 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/3.728, allocations: 3.938 kB / 2.196 GB, free: 3.273 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/3.728, allocations: 155.9 kB / 2.197 GB, free: 3.121 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/3.728, allocations: 0 / 2.197 GB, free: 3.121 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/3.728, allocations: 11.98 kB / 2.197 GB, free: 3.109 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/3.728, allocations: 4 kB / 2.197 GB, free: 3.105 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/3.728, allocations: 0 / 2.197 GB, free: 3.105 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/3.73, allocations: 1.017 MB / 2.198 GB, free: 2.039 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/3.73, allocations: 227.9 kB / 2.198 GB, free: 1.797 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/3.73, allocations: 7.953 kB / 2.198 GB, free: 1.789 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008369/3.731, allocations: 111.9 kB / 2.198 GB, free: 1.68 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/3.731, allocations: 39.7 kB / 2.198 GB, free: 1.641 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/3.731, allocations: 15.98 kB / 2.198 GB, free: 1.625 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004902/3.732, allocations: 415.2 kB / 2.198 GB, free: 1.223 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/3.732, allocations: 0 / 2.198 GB, free: 1.223 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001592/3.733, allocations: 447 kB / 2.199 GB, free: 0.7852 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.805/4.538, allocations: 2.185 MB / 2.201 GB, free: 277.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001643/4.54, allocations: 0.7658 MB / 2.202 GB, free: 277.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/4.54, allocations: 1.125 kB / 2.202 GB, free: 277.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004902/4.541, allocations: 265 kB / 2.202 GB, free: 277.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/4.542, allocations: 294.9 kB / 2.202 GB, free: 277.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006928/4.549, allocations: 1.761 MB / 2.204 GB, free: 277.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/4.55, allocations: 0.9894 MB / 2.205 GB, free: 276.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001482/4.551, allocations: 234.5 kB / 2.205 GB, free: 276.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/4.552, allocations: 315.1 kB / 2.205 GB, free: 276.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.042e-06/4.552, allocations: 3.469 kB / 2.205 GB, free: 276.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06226/4.614, allocations: 22.86 MB / 2.228 GB, free: 276.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/4.614, allocations: 184 kB / 2.228 GB, free: 276.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/7.482, allocations: 0 / 2.228 GB, free: 276.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_res.mat does not exist to compare? outputFormat=mat