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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007979/0.0007979, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009267, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.0005073, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7335/0.7341, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.0326/0.7667, allocations: 32.46 MB / 0.9855 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.7779, allocations: 6.462 MB / 0.9919 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.7797, allocations: 37.94 kB / 0.9919 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.7811, allocations: 325.2 kB / 0.9922 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.7849, allocations: 1.017 MB / 0.9932 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.7874, allocations: 0.6977 MB / 0.9939 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004197/0.7916, allocations: 2.512 MB / 0.9963 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.7929, allocations: 0.5772 MB / 0.9969 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.795, allocations: 0.7853 MB / 0.9977 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009781/0.796, allocations: 0.5794 MB / 0.9982 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.009e-05/0.7961, allocations: 32 kB / 0.9983 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.798, allocations: 0.7056 MB / 0.9989 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.7982, allocations: 139.3 kB / 0.9991 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.7985, allocations: 225.2 kB / 0.9993 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.8, allocations: 1.173 MB / 1 GB, free: 332 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.8, allocations: 0 / 1 GB, free: 332 kB / 0.7481 GB Notification: Performance of FrontEnd: time 3.847e-06/0.8, allocations: 4 kB / 1 GB, free: 328 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.8001, allocations: 0 / 1 GB, free: 328 kB / 0.7481 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.002209/0.8023, allocations: 1.185 MB / 1.002 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.8023, allocations: 8.031 kB / 1.002 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.8024, allocations: 102.4 kB / 1.002 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/0.8048, allocations: 0.506 MB / 1.002 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.8063, allocations: 0.8267 MB / 1.003 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/0.8063, allocations: 45.31 kB / 1.003 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.8064, allocations: 60 kB / 1.003 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.8083, allocations: 0.8675 MB / 1.004 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.8083, allocations: 0 / 1.004 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.8084, allocations: 24 kB / 1.004 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.8084, allocations: 19.95 kB / 1.004 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.8106, allocations: 0.8521 MB / 1.005 GB, free: 11.68 MB / 0.7637 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.006107/0.8167, allocations: 4.684 MB / 1.009 GB, free: 6.598 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003379/0.8201, allocations: 0.9671 MB / 1.01 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009873/0.8211, allocations: 403.1 kB / 1.011 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008915/0.822, allocations: 0.9571 MB / 1.012 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.822, allocations: 34.55 kB / 1.012 GB, free: 4.023 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=35): time 2.665e-06/0.822, allocations: 0 / 1.012 GB, free: 4.023 MB / 0.7637 GB Notification: Performance of matching and sorting (n=35): time 0.003131/0.8252, allocations: 1.141 MB / 1.013 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.8252, allocations: 55.41 kB / 1.013 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/0.8261, allocations: 0.716 MB / 1.014 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.8262, allocations: 29.7 kB / 1.014 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.8265, allocations: 440 kB / 1.014 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.8267, allocations: 126.1 kB / 1.014 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.8267, allocations: 12 kB / 1.014 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.8268, allocations: 329.9 kB / 1.014 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009567/0.8278, allocations: 360.9 kB / 1.015 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.8289, allocations: 0.5253 MB / 1.015 GB, free: 204 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009913/0.8299, allocations: 375.4 kB / 1.016 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8299, allocations: 0 / 1.016 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002318/0.8322, allocations: 0.929 MB / 1.017 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.8324, allocations: 214.5 kB / 1.017 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.8324, allocations: 8 kB / 1.017 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.8324, allocations: 8 kB / 1.017 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009093/0.8334, allocations: 215.7 kB / 1.017 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.8334, allocations: 15.94 kB / 1.017 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009226/0.8343, allocations: 163.3 kB / 1.017 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/0.8344, allocations: 31.94 kB / 1.017 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.8344, allocations: 4 kB / 1.017 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002083/0.8365, allocations: 0.8348 MB / 1.018 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8365, allocations: 8 kB / 1.018 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.8365, allocations: 8 kB / 1.018 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008653/0.8374, allocations: 212.3 kB / 1.018 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.8374, allocations: 7.938 kB / 1.018 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008781/0.8383, allocations: 151.6 kB / 1.018 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.8384, allocations: 27.98 kB / 1.018 GB, free: 12.95 MB / 0.7794 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.0004415/0.8388, allocations: 312.9 kB / 1.019 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.839, allocations: 82.92 kB / 1.019 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.8415, allocations: 1.013 MB / 1.02 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.8416, allocations: 8 kB / 1.02 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8416, allocations: 0 / 1.02 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.8416, allocations: 3.984 kB / 1.02 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.8454, allocations: 1.91 MB / 1.022 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.8454, allocations: 0 / 1.022 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008125/0.8462, allocations: 175.9 kB / 1.022 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.8463, allocations: 11.94 kB / 1.022 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.8463, allocations: 11.98 kB / 1.022 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.8463, allocations: 7.984 kB / 1.022 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8463, allocations: 0 / 1.022 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003324/0.8497, allocations: 1.518 MB / 1.023 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.8501, allocations: 239.9 kB / 1.024 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.8502, allocations: 8 kB / 1.024 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007358/0.8509, allocations: 123.9 kB / 1.024 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.851, allocations: 27.95 kB / 1.024 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.8511, allocations: 23.94 kB / 1.024 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006973/0.8518, allocations: 499 kB / 1.024 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8518, allocations: 0 / 1.024 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001293/0.8531, allocations: 427 kB / 1.025 GB, free: 6.461 MB / 0.7794 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.004222/0.8573, allocations: 2.255 MB / 1.027 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003331/0.8607, allocations: 1.279 MB / 1.028 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.8607, allocations: 0 / 1.028 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.8618, allocations: 447.7 kB / 1.029 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.8634, allocations: 332.2 kB / 1.029 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.8773, allocations: 5.865 MB / 1.035 GB, free: 12.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.8778, allocations: 0.9702 MB / 1.036 GB, free: 11.11 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001028/0.8789, allocations: 211.5 kB / 1.036 GB, free: 10.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.8793, allocations: 331.3 kB / 1.036 GB, free: 10.58 MB / 0.795 GB Notification: Performance of SimCode: time 7.32e-07/0.8793, allocations: 0 / 1.036 GB, free: 10.58 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04206/0.9214, allocations: 22.71 MB / 1.058 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.9217, allocations: 248.3 kB / 1.058 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.272/3.194, allocations: 0 / 1.058 GB, free: 4.008 MB / 0.8106 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