Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001182/0.001182, allocations: 185 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0009591/0.0009592, allocations: 86.92 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004151, allocations: 10.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2526, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.335, allocations: 450.5 MB / 1.419 GB, free: 10.96 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/1.336, allocations: 109.5 kB / 1.42 GB, free: 10.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.762/5.098, allocations: 0.9887 GB / 2.408 GB, free: 116.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.16e-06/5.098, allocations: 3.984 kB / 2.408 GB, free: 116.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002522/5.098, allocations: 54.86 kB / 2.408 GB, free: 116.5 MB / 0.948 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.008829/5.107, allocations: 2.646 MB / 2.411 GB, free: 114.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/5.107, allocations: 10.38 kB / 2.411 GB, free: 114.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004681/5.107, allocations: 177.7 kB / 2.411 GB, free: 114.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004221/5.111, allocations: 0.7312 MB / 2.412 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02102/5.132, allocations: 9.036 MB / 2.421 GB, free: 107.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-05/5.133, allocations: 96.97 kB / 2.421 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/5.133, allocations: 131.7 kB / 2.421 GB, free: 107.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/5.136, allocations: 1.541 MB / 2.422 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/5.136, allocations: 7.938 kB / 2.422 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/5.136, allocations: 48 kB / 2.422 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/5.136, allocations: 38.66 kB / 2.422 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/5.139, allocations: 1.212 MB / 2.424 GB, free: 104.3 MB / 0.948 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.01339/5.153, allocations: 8.396 MB / 2.432 GB, free: 95.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/5.157, allocations: 1.15 MB / 2.433 GB, free: 94.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005524/5.162, allocations: 2.946 MB / 2.436 GB, free: 90.99 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/5.164, allocations: 0.5208 MB / 2.436 GB, free: 90.46 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001091/5.165, allocations: 197.5 kB / 2.437 GB, free: 90.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 4.218e-06/5.165, allocations: 0 / 2.437 GB, free: 90.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.003279/5.168, allocations: 1.31 MB / 2.438 GB, free: 88.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/5.168, allocations: 111.4 kB / 2.438 GB, free: 88.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/5.17, allocations: 1.356 MB / 2.439 GB, free: 87.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/5.17, allocations: 45.7 kB / 2.439 GB, free: 87.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006731/5.171, allocations: 0.8964 MB / 2.44 GB, free: 86.49 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/5.171, allocations: 240.6 kB / 2.44 GB, free: 86.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/5.171, allocations: 20 kB / 2.44 GB, free: 86.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.962e-05/5.171, allocations: 345.9 kB / 2.441 GB, free: 85.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/5.172, allocations: 430.3 kB / 2.441 GB, free: 85.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/5.173, allocations: 0.897 MB / 2.442 GB, free: 84.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/5.175, allocations: 0.5395 MB / 2.443 GB, free: 83.81 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/5.175, allocations: 4 kB / 2.443 GB, free: 83.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003092/5.178, allocations: 1.442 MB / 2.444 GB, free: 82.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001051/5.179, allocations: 5.115 MB / 2.449 GB, free: 76.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/5.179, allocations: 16 kB / 2.449 GB, free: 76.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.804e-05/5.179, allocations: 21.5 kB / 2.449 GB, free: 76.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/5.18, allocations: 291.5 kB / 2.449 GB, free: 76.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.693e-05/5.18, allocations: 27.92 kB / 2.449 GB, free: 76.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/5.182, allocations: 159.7 kB / 2.449 GB, free: 76.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/5.182, allocations: 67.91 kB / 2.45 GB, free: 76.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/5.182, allocations: 4 kB / 2.45 GB, free: 76.25 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002634/5.185, allocations: 1.278 MB / 2.451 GB, free: 74.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/5.185, allocations: 12 kB / 2.451 GB, free: 74.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/5.185, allocations: 20 kB / 2.451 GB, free: 74.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/5.186, allocations: 287.6 kB / 2.451 GB, free: 74.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/5.186, allocations: 27.92 kB / 2.451 GB, free: 74.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/5.188, allocations: 147.7 kB / 2.451 GB, free: 74.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/5.188, allocations: 67.97 kB / 2.451 GB, free: 74.42 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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.001484/5.19, allocations: 0.4973 MB / 2.452 GB, free: 73.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005285/5.19, allocations: 181.3 kB / 2.452 GB, free: 73.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/5.193, allocations: 1.258 MB / 2.453 GB, free: 72.47 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/5.193, allocations: 8 kB / 2.453 GB, free: 72.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/5.193, allocations: 0 / 2.453 GB, free: 72.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002052/5.196, allocations: 1.156 MB / 2.454 GB, free: 71.24 MB / 0.948 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.005845/5.201, allocations: 2.691 MB / 2.457 GB, free: 68.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/5.201, allocations: 4.062 kB / 2.457 GB, free: 68.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009106/5.202, allocations: 175.7 kB / 2.457 GB, free: 68.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/5.202, allocations: 0 / 2.457 GB, free: 68.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/5.202, allocations: 31.98 kB / 2.457 GB, free: 68.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/5.202, allocations: 4 kB / 2.457 GB, free: 68.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/5.202, allocations: 0 / 2.457 GB, free: 68.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003718/5.206, allocations: 1.817 MB / 2.459 GB, free: 66.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/5.207, allocations: 342.7 kB / 2.459 GB, free: 66.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/5.207, allocations: 27.94 kB / 2.459 GB, free: 66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/5.209, allocations: 135.7 kB / 2.459 GB, free: 65.87 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/5.209, allocations: 52.58 kB / 2.459 GB, free: 65.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/5.209, allocations: 35.97 kB / 2.46 GB, free: 65.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001582/5.21, allocations: 1.039 MB / 2.461 GB, free: 64.72 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.9e-07/5.21, allocations: 4 kB / 2.461 GB, free: 64.72 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004553/5.215, allocations: 1.072 MB / 2.462 GB, free: 63.64 MB / 0.948 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.006086/5.221, allocations: 3.608 MB / 2.465 GB, free: 60.08 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004215/5.225, allocations: 1.903 MB / 2.467 GB, free: 58.14 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/5.225, allocations: 0 / 2.467 GB, free: 58.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/5.227, allocations: 0.5083 MB / 2.467 GB, free: 57.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/5.231, allocations: 0.7662 MB / 2.468 GB, free: 56.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/5.244, allocations: 13.6 MB / 2.481 GB, free: 43.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/5.244, allocations: 1.408 MB / 2.483 GB, free: 41.58 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00251/5.247, allocations: 465.6 kB / 2.483 GB, free: 41.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009695/5.248, allocations: 0.7632 MB / 2.484 GB, free: 40.41 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/5.248, allocations: 0 / 2.484 GB, free: 40.41 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09782/5.346, allocations: 56.69 MB / 2.539 GB, free: 0.7578 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/5.346, allocations: 257.4 kB / 2.54 GB, free: 412 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.089/9.435, allocations: 7.5 kB / 2.54 GB, free: 408 kB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)