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.334/2.334, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001187/0.001187, allocations: 175.4 kB / 498.1 MB, free: 5.754 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.668/1.668, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009203/0.0009204, allocations: 92.33 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005332/0.0005332, allocations: 12.53 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3593, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.402/1.761, allocations: 401.5 MB / 1.615 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.762, allocations: 93.22 kB / 1.615 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.183/3.944, allocations: 0.5785 GB / 2.194 GB, free: 139 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.275e-06/3.944, allocations: 4 kB / 2.194 GB, free: 139 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001535/3.944, allocations: 31.98 kB / 2.194 GB, free: 139 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004387/3.949, allocations: 1.356 MB / 2.195 GB, free: 137.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/3.949, allocations: 8.031 kB / 2.195 GB, free: 137.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003126/3.949, allocations: 98.47 kB / 2.195 GB, free: 137.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/3.952, allocations: 494.2 kB / 2.195 GB, free: 137 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/3.968, allocations: 7.28 MB / 2.203 GB, free: 129.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/3.968, allocations: 49.25 kB / 2.203 GB, free: 129.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/3.969, allocations: 52 kB / 2.203 GB, free: 129.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/3.971, allocations: 0.8664 MB / 2.203 GB, free: 128.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/3.971, allocations: 4 kB / 2.204 GB, free: 128.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/3.971, allocations: 31.89 kB / 2.204 GB, free: 128.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/3.971, allocations: 29.3 kB / 2.204 GB, free: 128.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/3.973, allocations: 0.8443 MB / 2.204 GB, free: 127.7 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.006285/3.98, allocations: 4.617 MB / 2.209 GB, free: 122.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/3.983, allocations: 0.9509 MB / 2.21 GB, free: 121.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007271/3.984, allocations: 0.9376 MB / 2.211 GB, free: 120.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/3.984, allocations: 38.56 kB / 2.211 GB, free: 120.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=35): time 3.036e-06/3.984, allocations: 3.938 kB / 2.211 GB, free: 120.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=35): time 0.003156/3.987, allocations: 1.118 MB / 2.212 GB, free: 119.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/3.987, allocations: 55.41 kB / 2.212 GB, free: 119.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/3.988, allocations: 0.6216 MB / 2.213 GB, free: 118.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.393e-05/3.988, allocations: 37.69 kB / 2.213 GB, free: 118.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/3.989, allocations: 439.9 kB / 2.213 GB, free: 118.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/3.989, allocations: 118.3 kB / 2.213 GB, free: 118.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/3.989, allocations: 12 kB / 2.213 GB, free: 118.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/3.989, allocations: 329.9 kB / 2.213 GB, free: 117.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009376/3.99, allocations: 352.9 kB / 2.214 GB, free: 117.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/3.991, allocations: 0.5309 MB / 2.214 GB, free: 116.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009392/3.992, allocations: 361 kB / 2.215 GB, free: 116.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/3.992, allocations: 0 / 2.215 GB, free: 116.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002286/3.994, allocations: 0.9171 MB / 2.216 GB, free: 115.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003495/3.995, allocations: 1.663 MB / 2.217 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/3.995, allocations: 4 kB / 2.217 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/3.995, allocations: 11.98 kB / 2.217 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/3.996, allocations: 183.7 kB / 2.217 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/3.996, allocations: 8 kB / 2.217 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/3.997, allocations: 171.3 kB / 2.218 GB, free: 113.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/3.997, allocations: 27.98 kB / 2.218 GB, free: 113.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/3.997, allocations: 4 kB / 2.218 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002023/3.999, allocations: 0.8114 MB / 2.218 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/3.999, allocations: 4 kB / 2.218 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/3.999, allocations: 7.984 kB / 2.218 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/4, allocations: 188.2 kB / 2.219 GB, free: 112.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/4, allocations: 12 kB / 2.219 GB, free: 112.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/4.001, allocations: 159.4 kB / 2.219 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/4.001, allocations: 27.98 kB / 2.219 GB, free: 112.1 MB / 1.167 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 () * Number of clocked 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.0005365/4.001, allocations: 305 kB / 2.219 GB, free: 111.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/4.002, allocations: 87.09 kB / 2.219 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/4.004, allocations: 0.998 MB / 2.22 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/4.004, allocations: 11.92 kB / 2.22 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/4.004, allocations: 4 kB / 2.22 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/4.004, allocations: 0 / 2.22 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/4.008, allocations: 1.879 MB / 2.222 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/4.008, allocations: 4 kB / 2.222 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/4.009, allocations: 151.8 kB / 2.222 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/4.009, allocations: 4 kB / 2.222 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/4.009, allocations: 15.98 kB / 2.222 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/4.009, allocations: 4 kB / 2.222 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/4.009, allocations: 3.938 kB / 2.222 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/4.012, allocations: 1.509 MB / 2.224 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005817/4.013, allocations: 235.8 kB / 2.224 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/4.013, allocations: 8 kB / 2.224 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009662/4.014, allocations: 127.9 kB / 2.224 GB, free: 106.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/4.014, allocations: 31.95 kB / 2.224 GB, free: 106.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/4.014, allocations: 19.98 kB / 2.224 GB, free: 106.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008912/4.015, allocations: 0.4911 MB / 2.224 GB, free: 106.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.01e-07/4.015, allocations: 0 / 2.224 GB, free: 106.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002162/4.017, allocations: 459.3 kB / 2.225 GB, free: 105.7 MB / 1.167 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 () * Number of clocked 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.005402/4.023, allocations: 2.668 MB / 2.227 GB, free: 102.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003346/4.026, allocations: 1.26 MB / 2.229 GB, free: 101.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/4.026, allocations: 0 / 2.229 GB, free: 101.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/4.027, allocations: 447.5 kB / 2.229 GB, free: 101.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/4.029, allocations: 323.1 kB / 2.229 GB, free: 100.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/4.049, allocations: 8.521 MB / 2.238 GB, free: 92.21 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009155/4.05, allocations: 0.9828 MB / 2.239 GB, free: 91.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001471/4.052, allocations: 198.5 kB / 2.239 GB, free: 91 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007084/4.053, allocations: 331.3 kB / 2.239 GB, free: 90.68 MB / 1.167 GB Notification: Performance of SimCode: time 3.226e-06/4.053, allocations: 0 / 2.239 GB, free: 90.68 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04952/4.102, allocations: 25.69 MB / 2.264 GB, free: 65.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/4.102, allocations: 244 kB / 2.265 GB, free: 65.16 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/7.15, allocations: 0 / 2.265 GB, free: 65.16 MB / 1.167 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