Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_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 8.0.0/package.mo): time 2.746/2.746, allocations: 287.5 MB / 302.4 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001374, allocations: 182.1 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 0.6297 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00097/0.00097, allocations: 89.89 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 11.88 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.08094/0.29, allocations: 57.92 MB / 1.035 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04004/0.3301, allocations: 18.02 MB / 1.053 GB, free: 112 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003444/0.3336, allocations: 83.44 kB / 1.053 GB, free: 28 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004577/0.3382, allocations: 0.8347 MB / 1.054 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00975/0.348, allocations: 2.16 MB / 1.056 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01211/0.3602, allocations: 2.711 MB / 1.058 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01123/0.3714, allocations: 5.714 MB / 1.064 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003582/0.3751, allocations: 1.31 MB / 1.065 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006041/0.3811, allocations: 1.738 MB / 1.067 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003707/0.3849, allocations: 1.346 MB / 1.068 GB, free: 168 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007308/0.3857, allocations: 76 kB / 1.068 GB, free: 92 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7143/1.1, allocations: 1.58 MB / 1.07 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/1.101, allocations: 421.7 kB / 1.07 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/1.103, allocations: 448.3 kB / 1.071 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007318/1.11, allocations: 2.776 MB / 1.073 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.11, allocations: 0 / 1.073 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.574e-06/1.11, allocations: 0 / 1.073 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001279/1.11, allocations: 0 / 1.073 GB, free: 15.55 MB / 0.6823 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.008919/1.119, allocations: 2.275 MB / 1.076 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/1.119, allocations: 11.53 kB / 1.076 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007599/1.12, allocations: 181.2 kB / 1.076 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00748/1.127, allocations: 0.77 MB / 1.076 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006318/1.134, allocations: 1.749 MB / 1.078 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007807/1.135, allocations: 166.1 kB / 1.078 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005966/1.135, allocations: 138.4 kB / 1.078 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006676/1.142, allocations: 1.672 MB / 1.08 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.646e-05/1.142, allocations: 8.5 kB / 1.08 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/1.142, allocations: 51.78 kB / 1.08 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-05/1.142, allocations: 31.64 kB / 1.08 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008073/1.15, allocations: 1.504 MB / 1.082 GB, free: 13.33 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 preOpt removeSimpleEquations (simulation): time 0.02198/1.173, allocations: 8.853 MB / 1.09 GB, free: 24.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009485/1.182, allocations: 1.482 MB / 1.092 GB, free: 24.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/1.185, allocations: 0.5999 MB / 1.092 GB, free: 24.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008626/1.194, allocations: 2.875 MB / 1.095 GB, free: 22.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003226/1.197, allocations: 0.6566 MB / 1.096 GB, free: 22.48 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001636/1.199, allocations: 182.1 kB / 1.096 GB, free: 22.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 9.097e-06/1.199, allocations: 1.031 kB / 1.096 GB, free: 22.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.009695/1.209, allocations: 1.671 MB / 1.098 GB, free: 22.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.209, allocations: 139.1 kB / 1.098 GB, free: 22.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/1.213, allocations: 1.578 MB / 1.099 GB, free: 21.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003753/1.213, allocations: 46.89 kB / 1.099 GB, free: 21.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/1.215, allocations: 0.8978 MB / 1.1 GB, free: 21.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/1.215, allocations: 237.2 kB / 1.1 GB, free: 21.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/1.215, allocations: 20.47 kB / 1.1 GB, free: 21.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.215, allocations: 350.3 kB / 1.101 GB, free: 21.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003012/1.218, allocations: 0.5647 MB / 1.101 GB, free: 21.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003423/1.222, allocations: 1.031 MB / 1.102 GB, free: 20.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/1.225, allocations: 0.6602 MB / 1.103 GB, free: 20.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-05/1.225, allocations: 4.438 kB / 1.103 GB, free: 20.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.007863/1.233, allocations: 1.717 MB / 1.105 GB, free: 20.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003453/1.233, allocations: 486 kB / 1.105 GB, free: 19.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.054e-05/1.234, allocations: 12.11 kB / 1.105 GB, free: 19.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.83e-05/1.234, allocations: 21.69 kB / 1.105 GB, free: 19.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/1.236, allocations: 329 kB / 1.105 GB, free: 19.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.567e-05/1.237, allocations: 31.28 kB / 1.105 GB, free: 19.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/1.24, allocations: 197.2 kB / 1.106 GB, free: 19.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/1.241, allocations: 61.42 kB / 1.106 GB, free: 19.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.241, allocations: 6.75 kB / 1.106 GB, free: 19.59 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007027/1.248, allocations: 1.528 MB / 1.107 GB, free: 19.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.552e-05/1.248, allocations: 12.59 kB / 1.107 GB, free: 19.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/1.248, allocations: 23.88 kB / 1.107 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/1.25, allocations: 332 kB / 1.108 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.559e-05/1.251, allocations: 31.02 kB / 1.108 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/1.254, allocations: 195.2 kB / 1.108 GB, free: 19.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003602/1.255, allocations: 56.91 kB / 1.108 GB, free: 19.5 MB / 0.698 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 (132): * Single equations (assignments): 128 * 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.001742/1.256, allocations: 0.4997 MB / 1.108 GB, free: 19.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006348/1.257, allocations: 173.4 kB / 1.108 GB, free: 19.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006946/1.264, allocations: 1.513 MB / 1.11 GB, free: 19.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/1.264, allocations: 8.953 kB / 1.11 GB, free: 19.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.264, allocations: 96 / 1.11 GB, free: 19.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00574/1.27, allocations: 1.402 MB / 1.111 GB, free: 18.71 MB / 0.698 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.01245/1.282, allocations: 3.115 MB / 1.114 GB, free: 18.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.282, allocations: 0.9062 kB / 1.114 GB, free: 18.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/1.285, allocations: 228.8 kB / 1.115 GB, free: 18.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/1.285, allocations: 2.812 kB / 1.115 GB, free: 18.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/1.285, allocations: 29.36 kB / 1.115 GB, free: 18.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.285, allocations: 3.75 kB / 1.115 GB, free: 18.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.285, allocations: 1.344 kB / 1.115 GB, free: 18.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009855/1.295, allocations: 2.183 MB / 1.117 GB, free: 17.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/1.296, allocations: 375.5 kB / 1.117 GB, free: 17.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006097/1.297, allocations: 18.91 kB / 1.117 GB, free: 17.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003039/1.3, allocations: 181 kB / 1.117 GB, free: 17.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/1.3, allocations: 55.52 kB / 1.117 GB, free: 17.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/1.301, allocations: 35.02 kB / 1.117 GB, free: 17.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002838/1.303, allocations: 1.051 MB / 1.118 GB, free: 17.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.02e-07/1.303, allocations: 1.5 kB / 1.118 GB, free: 17.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00629/1.31, allocations: 0.9801 MB / 1.119 GB, free: 17.43 MB / 0.698 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.01219/1.322, allocations: 3.173 MB / 1.122 GB, free: 16.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.332, allocations: 2.3 MB / 1.125 GB, free: 16.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.332, allocations: 2.734 kB / 1.125 GB, free: 16.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/1.335, allocations: 0.6444 MB / 1.125 GB, free: 16.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007092/1.343, allocations: 0.7933 MB / 1.126 GB, free: 16.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04869/1.391, allocations: 12.32 MB / 1.138 GB, free: 11.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/1.393, allocations: 1.377 MB / 1.14 GB, free: 10.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003755/1.397, allocations: 459.6 kB / 1.14 GB, free: 10.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/1.399, allocations: 0.7569 MB / 1.141 GB, free: 9.98 MB / 0.698 GB Notification: Performance of SimCode: time 1.563e-06/1.399, allocations: 0 / 1.141 GB, free: 9.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1437/1.542, allocations: 51.2 MB / 1.191 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004022/1.543, allocations: 271.1 kB / 1.191 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.8/6.342, allocations: 0 / 1.191 GB, free: 13.22 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)