Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 183 kB / 326.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009437/0.000944, allocations: 93.97 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 7.344 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2487, allocations: 106.4 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.04052/0.2892, allocations: 52.71 MB / 0.9516 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02498/0.3143, allocations: 16.93 MB / 0.9682 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003837/0.3182, allocations: 79.38 kB / 0.9682 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004462/0.3226, allocations: 0.9951 MB / 0.9692 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.3329, allocations: 2.553 MB / 0.9717 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.3436, allocations: 2.92 MB / 0.9745 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008208/0.3519, allocations: 3.022 MB / 0.9775 GB, free: 480 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003647/0.3556, allocations: 1.314 MB / 0.9788 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004674/0.3603, allocations: 1.537 MB / 0.9803 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.3631, allocations: 0.9721 MB / 0.9812 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007668/0.3639, allocations: 76 kB / 0.9813 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005163/0.3691, allocations: 1.459 MB / 0.9827 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.3702, allocations: 406.4 kB / 0.9831 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.3715, allocations: 448.6 kB / 0.9835 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00541/0.377, allocations: 2.685 MB / 0.9862 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.377, allocations: 0 / 0.9862 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.635e-06/0.377, allocations: 0 / 0.9862 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001313/0.3771, allocations: 0 / 0.9862 GB, free: 7.543 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.00632/0.3835, allocations: 2.256 MB / 0.9884 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.3835, allocations: 12.03 kB / 0.9884 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004268/0.384, allocations: 177.5 kB / 0.9886 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/0.3879, allocations: 0.7661 MB / 0.9893 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004046/0.392, allocations: 1.72 MB / 0.991 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004139/0.3924, allocations: 166.5 kB / 0.9911 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.3927, allocations: 128 kB / 0.9913 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.3963, allocations: 1.657 MB / 0.9929 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.3964, allocations: 3.938 kB / 0.9929 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.3965, allocations: 52 kB / 0.9929 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.3966, allocations: 28 kB / 0.993 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004147/0.4008, allocations: 1.488 MB / 0.9944 GB, free: 14.84 MB / 0.6511 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.01518/0.416, allocations: 9.031 MB / 1.003 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005215/0.4212, allocations: 1.453 MB / 1.005 GB, free: 3.676 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006952/0.4282, allocations: 3.25 MB / 1.008 GB, free: 160 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00174/0.43, allocations: 0.6472 MB / 1.008 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001026/0.4311, allocations: 179 kB / 1.009 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=66): time 6.262e-06/0.4311, allocations: 0 / 1.009 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66): time 0.005064/0.4362, allocations: 1.66 MB / 1.01 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4363, allocations: 137.1 kB / 1.01 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/0.4394, allocations: 1.616 MB / 1.012 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.4396, allocations: 45.64 kB / 1.012 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.4407, allocations: 0.8963 MB / 1.013 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/0.441, allocations: 244.5 kB / 1.013 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/0.4411, allocations: 20 kB / 1.013 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4413, allocations: 349.9 kB / 1.013 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.4429, allocations: 0.5491 MB / 1.014 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/0.4449, allocations: 1.018 MB / 1.015 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.4467, allocations: 0.6489 MB / 1.016 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.4468, allocations: 4 kB / 1.016 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004489/0.4513, allocations: 1.699 MB / 1.017 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002088/0.4534, allocations: 5.017 MB / 1.022 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.611e-05/0.4534, allocations: 12 kB / 1.022 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.099e-05/0.4535, allocations: 20 kB / 1.022 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.455, allocations: 335.5 kB / 1.023 GB, free: 336 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/0.4551, allocations: 31.86 kB / 1.023 GB, free: 304 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.4572, allocations: 196.4 kB / 1.023 GB, free: 108 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.4574, allocations: 63.97 kB / 1.023 GB, free: 44 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4574, allocations: 6.188 kB / 1.023 GB, free: 40 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00411/0.4615, allocations: 1.517 MB / 1.024 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.924e-05/0.4616, allocations: 16 kB / 1.024 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.4617, allocations: 23.95 kB / 1.024 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.4631, allocations: 335.6 kB / 1.025 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/0.4631, allocations: 19.94 kB / 1.025 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.4653, allocations: 192.5 kB / 1.025 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.4655, allocations: 55.98 kB / 1.025 GB, free: 13.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001349/0.4668, allocations: 0.4928 MB / 1.025 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005611/0.4674, allocations: 177.8 kB / 1.026 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/0.4719, allocations: 1.512 MB / 1.027 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.472, allocations: 15.94 kB / 1.027 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.472, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0032/0.4752, allocations: 1.375 MB / 1.028 GB, free: 10.24 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.007839/0.483, allocations: 3.159 MB / 1.031 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4831, allocations: 4 kB / 1.031 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.4842, allocations: 219.8 kB / 1.032 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/0.4842, allocations: 8 kB / 1.032 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/0.4843, allocations: 27.97 kB / 1.032 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.4843, allocations: 4 kB / 1.032 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4844, allocations: 0 / 1.032 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005444/0.4898, allocations: 2.195 MB / 1.034 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.491, allocations: 386.6 kB / 1.034 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005453/0.4916, allocations: 16 kB / 1.034 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/0.4933, allocations: 175.7 kB / 1.034 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.4934, allocations: 56.56 kB / 1.034 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.4936, allocations: 35.97 kB / 1.035 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00229/0.4959, allocations: 1.078 MB / 1.036 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4959, allocations: 0 / 1.036 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004356/0.5002, allocations: 0.9902 MB / 1.037 GB, free: 1.715 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.007818/0.5081, allocations: 3.326 MB / 1.04 GB, free: 14.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006139/0.5143, allocations: 2.269 MB / 1.042 GB, free: 12.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.5143, allocations: 0 / 1.042 GB, free: 12.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.516, allocations: 0.6298 MB / 1.043 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004314/0.5203, allocations: 0.7826 MB / 1.043 GB, free: 10.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4502/0.9705, allocations: 13.36 MB / 1.056 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/0.9714, allocations: 1.411 MB / 1.058 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002338/0.9738, allocations: 460.2 kB / 1.058 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.9748, allocations: 0.7531 MB / 1.059 GB, free: 141.1 MB / 0.698 GB Notification: Performance of SimCode: time 9.31e-07/0.9749, allocations: 0 / 1.059 GB, free: 141.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09125/1.066, allocations: 50.78 MB / 1.109 GB, free: 111.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.066, allocations: 264.8 kB / 1.109 GB, free: 111.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.846/4.912, allocations: 4 kB / 1.109 GB, free: 111.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)