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.758/2.758, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001603/0.001602, allocations: 178.8 kB / 370.8 MB, free: 10.86 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.138/2.138, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001516/0.001516, allocations: 86.91 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004938, allocations: 11.42 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2159, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.07636/0.2923, allocations: 52.71 MB / 1.03 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03847/0.3308, allocations: 16.93 MB / 1.046 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.334, allocations: 75.44 kB / 1.046 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005128/0.3392, allocations: 0.999 MB / 1.047 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01129/0.3505, allocations: 2.551 MB / 1.05 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01301/0.3635, allocations: 2.971 MB / 1.053 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008125/0.3717, allocations: 3.019 MB / 1.056 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003173/0.3749, allocations: 1.33 MB / 1.057 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00511/0.38, allocations: 1.549 MB / 1.058 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002625/0.3827, allocations: 0.9721 MB / 1.059 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004646/0.3832, allocations: 76 kB / 1.06 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005485/0.3887, allocations: 1.474 MB / 1.061 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.3898, allocations: 398.4 kB / 1.061 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.3908, allocations: 452.6 kB / 1.062 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.397, allocations: 2.712 MB / 1.064 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.397, allocations: 4 kB / 1.064 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.836e-06/0.3971, allocations: 0 / 1.064 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.063e-05/0.3971, allocations: 0 / 1.064 GB, free: 3.879 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.007207/0.4043, allocations: 2.253 MB / 1.067 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.4044, allocations: 8.031 kB / 1.067 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004846/0.4049, allocations: 177.5 kB / 1.067 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00672/0.4116, allocations: 0.7739 MB / 1.068 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6176/1.029, allocations: 1.705 MB / 1.069 GB, free: 88.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007737/1.03, allocations: 170.5 kB / 1.069 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005626/1.031, allocations: 129.4 kB / 1.07 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006491/1.037, allocations: 1.654 MB / 1.071 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-05/1.037, allocations: 5.438 kB / 1.071 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/1.037, allocations: 50.17 kB / 1.071 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/1.038, allocations: 33.61 kB / 1.071 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00773/1.045, allocations: 1.491 MB / 1.073 GB, free: 87.57 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.02083/1.066, allocations: 9.028 MB / 1.081 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009774/1.076, allocations: 1.462 MB / 1.083 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009539/1.086, allocations: 3.241 MB / 1.086 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003083/1.089, allocations: 0.6487 MB / 1.087 GB, free: 77.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001356/1.09, allocations: 188.9 kB / 1.087 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 5.39e-06/1.09, allocations: 0 / 1.087 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.009111/1.099, allocations: 1.655 MB / 1.088 GB, free: 77.35 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/1.099, allocations: 141.8 kB / 1.089 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/1.104, allocations: 1.608 MB / 1.09 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003033/1.104, allocations: 44.67 kB / 1.09 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000994/1.105, allocations: 0.8986 MB / 1.091 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/1.105, allocations: 241.9 kB / 1.091 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.105, allocations: 20.95 kB / 1.091 GB, free: 75.58 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.106, allocations: 345.1 kB / 1.092 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/1.108, allocations: 0.5616 MB / 1.092 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003313/1.112, allocations: 1.016 MB / 1.093 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003128/1.115, allocations: 0.6581 MB / 1.094 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/1.115, allocations: 3.312 kB / 1.094 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.007627/1.123, allocations: 1.696 MB / 1.096 GB, free: 73.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001086/1.124, allocations: 5.018 MB / 1.1 GB, free: 68.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.125e-05/1.124, allocations: 13.8 kB / 1.1 GB, free: 68.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.378e-05/1.124, allocations: 20.62 kB / 1.1 GB, free: 68.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/1.127, allocations: 344.1 kB / 1.101 GB, free: 68.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-05/1.127, allocations: 24.55 kB / 1.101 GB, free: 68.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/1.13, allocations: 200.7 kB / 1.101 GB, free: 67.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003407/1.131, allocations: 63.11 kB / 1.101 GB, free: 67.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.131, allocations: 3.969 kB / 1.101 GB, free: 67.97 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007001/1.138, allocations: 1.528 MB / 1.103 GB, free: 67.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.044e-05/1.138, allocations: 14.8 kB / 1.103 GB, free: 67.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-05/1.138, allocations: 19.47 kB / 1.103 GB, free: 67.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/1.141, allocations: 335 kB / 1.103 GB, free: 67.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-05/1.141, allocations: 28.67 kB / 1.103 GB, free: 67.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/1.144, allocations: 197.5 kB / 1.103 GB, free: 67.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/1.144, allocations: 67.42 kB / 1.103 GB, free: 67.35 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 (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.001371/1.146, allocations: 0.4892 MB / 1.104 GB, free: 66.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005529/1.146, allocations: 184.2 kB / 1.104 GB, free: 66.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006758/1.153, allocations: 1.508 MB / 1.105 GB, free: 66.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/1.153, allocations: 9.562 kB / 1.105 GB, free: 66.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.153, allocations: 0.9844 kB / 1.105 GB, free: 66.38 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00565/1.159, allocations: 1.385 MB / 1.107 GB, free: 65.7 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.01137/1.17, allocations: 3.151 MB / 1.11 GB, free: 64.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.17, allocations: 0.875 kB / 1.11 GB, free: 64.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002226/1.172, allocations: 222.8 kB / 1.11 GB, free: 64.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/1.173, allocations: 3.812 kB / 1.11 GB, free: 64.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.173, allocations: 29.69 kB / 1.11 GB, free: 64.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.088e-06/1.173, allocations: 2.5 kB / 1.11 GB, free: 64.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.173, allocations: 1.188 kB / 1.11 GB, free: 64.13 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009118/1.182, allocations: 2.2 MB / 1.112 GB, free: 62.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.183, allocations: 385.9 kB / 1.113 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004079/1.184, allocations: 21.17 kB / 1.113 GB, free: 62.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.186, allocations: 179.3 kB / 1.113 GB, free: 62.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/1.186, allocations: 58.33 kB / 1.113 GB, free: 62.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.187, allocations: 32.44 kB / 1.113 GB, free: 62.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002371/1.189, allocations: 1.078 MB / 1.114 GB, free: 61.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.11e-07/1.189, allocations: 0 / 1.114 GB, free: 61.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00537/1.194, allocations: 0.9962 MB / 1.115 GB, free: 61.67 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.0117/1.206, allocations: 3.343 MB / 1.118 GB, free: 59.72 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009923/1.216, allocations: 2.288 MB / 1.12 GB, free: 58.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.216, allocations: 2.719 kB / 1.12 GB, free: 58.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002927/1.219, allocations: 0.6267 MB / 1.121 GB, free: 58.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006097/1.225, allocations: 0.7767 MB / 1.122 GB, free: 57.94 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/1.24, allocations: 13.38 MB / 1.135 GB, free: 46.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009835/1.242, allocations: 1.408 MB / 1.136 GB, free: 44.99 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003553/1.245, allocations: 463.5 kB / 1.137 GB, free: 44.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/1.247, allocations: 0.7593 MB / 1.137 GB, free: 44.13 MB / 0.6823 GB Notification: Performance of SimCode: time 2.024e-06/1.247, allocations: 0 / 1.137 GB, free: 44.13 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/1.373, allocations: 50.95 MB / 1.187 GB, free: 11.19 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/1.373, allocations: 267.9 kB / 1.187 GB, free: 10.85 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.556/5.929, allocations: 4 kB / 1.187 GB, free: 10.84 MB / 0.698 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)