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.0009408/0.0009411, allocations: 95.62 kB / 15.05 MB, free: 1.113 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.0009323/0.0009324, allocations: 181.3 kB / 15.95 MB, free: 220 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.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.309 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.396/2.396, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8217/0.8221, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03397/0.8561, allocations: 29.58 MB / 0.9825 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.8672, allocations: 5.973 MB / 0.9883 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.8689, allocations: 38.78 kB / 0.9883 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.8709, allocations: 416.4 kB / 0.9887 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.8758, allocations: 1.111 MB / 0.9898 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.8788, allocations: 0.8572 MB / 0.9907 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003268/0.882, allocations: 1.342 MB / 0.992 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.8832, allocations: 0.5969 MB / 0.9926 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.8851, allocations: 0.759 MB / 0.9933 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/0.8858, allocations: 437.9 kB / 0.9937 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.527e-05/0.8858, allocations: 32 kB / 0.9937 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.8875, allocations: 0.5851 MB / 0.9943 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.8877, allocations: 139.3 kB / 0.9945 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.8879, allocations: 221.2 kB / 0.9947 GB, free: 6 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.8892, allocations: 1.114 MB / 0.9958 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.8892, allocations: 0 / 0.9958 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.227e-06/0.8892, allocations: 4 kB / 0.9958 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.8892, allocations: 3.938 kB / 0.9958 GB, free: 4.875 MB / 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.002301/0.8916, allocations: 1.164 MB / 0.9969 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.8916, allocations: 8.031 kB / 0.9969 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.8918, allocations: 102.5 kB / 0.997 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/0.8943, allocations: 0.5021 MB / 0.9975 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.8959, allocations: 0.8305 MB / 0.9983 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.8959, allocations: 45.31 kB / 0.9983 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.816e-05/0.896, allocations: 56 kB / 0.9984 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.898, allocations: 0.8592 MB / 0.9992 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.898, allocations: 4 kB / 0.9992 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/0.8981, allocations: 28 kB / 0.9993 GB, free: 1.129 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.8981, allocations: 19.95 kB / 0.9993 GB, free: 1.109 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.9004, allocations: 0.8482 MB / 1 GB, free: 268 kB / 0.7481 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.007354/0.9078, allocations: 4.68 MB / 1.005 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.9116, allocations: 0.9672 MB / 1.006 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.9127, allocations: 0.9454 MB / 1.007 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.9127, allocations: 42.44 kB / 1.007 GB, free: 9.008 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=35): time 2.906e-06/0.9127, allocations: 0 / 1.007 GB, free: 9.008 MB / 0.7637 GB Notification: Performance of matching and sorting (n=35): time 0.003325/0.9161, allocations: 1.141 MB / 1.008 GB, free: 7.859 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.9161, allocations: 59.27 kB / 1.008 GB, free: 7.789 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009493/0.9171, allocations: 0.7122 MB / 1.008 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.9171, allocations: 33.7 kB / 1.008 GB, free: 7.027 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.9175, allocations: 439.9 kB / 1.009 GB, free: 6.594 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.9176, allocations: 126.1 kB / 1.009 GB, free: 6.469 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.9177, allocations: 16 kB / 1.009 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9178, allocations: 321.9 kB / 1.009 GB, free: 6.133 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.9189, allocations: 356.9 kB / 1.01 GB, free: 5.785 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.9201, allocations: 0.5292 MB / 1.01 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.9212, allocations: 375.5 kB / 1.011 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.9212, allocations: 0 / 1.011 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002504/0.9237, allocations: 0.929 MB / 1.011 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.00129/0.925, allocations: 1.669 MB / 1.013 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.925, allocations: 4 kB / 1.013 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.925, allocations: 11.94 kB / 1.013 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000921/0.926, allocations: 215.7 kB / 1.013 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.926, allocations: 4 kB / 1.013 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.927, allocations: 167.3 kB / 1.013 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.9271, allocations: 27.98 kB / 1.014 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.9271, allocations: 4 kB / 1.014 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002301/0.9294, allocations: 0.8273 MB / 1.014 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.9294, allocations: 4 kB / 1.014 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.9295, allocations: 8 kB / 1.014 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008664/0.9303, allocations: 223.8 kB / 1.015 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.9304, allocations: 11.94 kB / 1.015 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009698/0.9313, allocations: 151.5 kB / 1.015 GB, free: 448 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.9314, allocations: 23.98 kB / 1.015 GB, free: 424 kB / 0.7637 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.000556/0.932, allocations: 305 kB / 1.015 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.9321, allocations: 86.92 kB / 1.015 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.9349, allocations: 1.018 MB / 1.016 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/0.935, allocations: 4 kB / 1.016 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.935, allocations: 8 kB / 1.016 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.935, allocations: 3.984 kB / 1.016 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/0.9393, allocations: 1.914 MB / 1.018 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.9394, allocations: 0 / 1.018 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008645/0.9403, allocations: 179.9 kB / 1.018 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.9403, allocations: 0 / 1.018 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.9403, allocations: 19.98 kB / 1.018 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/0.9403, allocations: 0 / 1.018 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.9404, allocations: 4 kB / 1.018 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003702/0.9441, allocations: 1.546 MB / 1.02 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.9446, allocations: 235.8 kB / 1.02 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.9447, allocations: 12 kB / 1.02 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007823/0.9455, allocations: 127.9 kB / 1.02 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.9456, allocations: 27.95 kB / 1.02 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.9456, allocations: 19.98 kB / 1.02 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007513/0.9464, allocations: 0.4912 MB / 1.021 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9464, allocations: 0 / 1.021 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001384/0.9478, allocations: 427 kB / 1.021 GB, free: 9.875 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.004583/0.9524, allocations: 2.514 MB / 1.023 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003579/0.956, allocations: 1.287 MB / 1.025 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.956, allocations: 0 / 1.025 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.9572, allocations: 447.8 kB / 1.025 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.9588, allocations: 323.5 kB / 1.025 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.9751, allocations: 8.548 MB / 1.034 GB, free: 12.53 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.9759, allocations: 0.9867 MB / 1.035 GB, free: 11.52 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001187/0.9771, allocations: 206.6 kB / 1.035 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/0.9776, allocations: 335.2 kB / 1.035 GB, free: 10.99 MB / 0.795 GB Notification: Performance of SimCode: time 1.253e-06/0.9776, allocations: 0 / 1.035 GB, free: 10.99 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/1.024, allocations: 22.81 MB / 1.058 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/1.024, allocations: 246 kB / 1.058 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/3.305, allocations: 4 kB / 1.058 GB, free: 4.371 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