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.815/2.815, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001589/0.001589, allocations: 185 kB / 370.8 MB, free: 10.88 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.123/2.123, 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.001272/0.001272, allocations: 89.05 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005392/0.0005395, allocations: 15.97 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.329/1.574, allocations: 450.4 MB / 1.418 GB, free: 12.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/1.574, allocations: 106.2 kB / 1.418 GB, free: 11.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.338/6.913, allocations: 0.9887 GB / 2.407 GB, free: 118.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.645e-06/6.913, allocations: 0 / 2.407 GB, free: 118.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003737/6.913, allocations: 54.27 kB / 2.407 GB, free: 118.6 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.01116/6.924, allocations: 2.638 MB / 2.41 GB, free: 116.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/6.925, allocations: 14.34 kB / 2.41 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007663/6.925, allocations: 180 kB / 2.41 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00761/6.933, allocations: 0.7355 MB / 2.41 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03818/6.971, allocations: 9.032 MB / 2.419 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/6.971, allocations: 94.38 kB / 2.419 GB, free: 110.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005972/6.972, allocations: 132 kB / 2.42 GB, free: 110.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005444/6.978, allocations: 1.537 MB / 2.421 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.09e-05/6.978, allocations: 7.938 kB / 2.421 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/6.978, allocations: 52 kB / 2.421 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/6.978, allocations: 35.98 kB / 2.421 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005767/6.984, allocations: 1.22 MB / 2.422 GB, free: 107.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.01709/7.001, allocations: 8.392 MB / 2.43 GB, free: 98.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007728/7.009, allocations: 1.152 MB / 2.432 GB, free: 97.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008411/7.017, allocations: 2.949 MB / 2.434 GB, free: 93.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002202/7.019, allocations: 0.5245 MB / 2.435 GB, free: 93.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001491/7.021, allocations: 194.2 kB / 2.435 GB, free: 93.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 3.617e-06/7.021, allocations: 0 / 2.435 GB, free: 93.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.006205/7.027, allocations: 1.307 MB / 2.436 GB, free: 91.92 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/7.027, allocations: 115.3 kB / 2.437 GB, free: 91.78 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/7.03, allocations: 1.356 MB / 2.438 GB, free: 90.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003256/7.03, allocations: 45.7 kB / 2.438 GB, free: 90.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009196/7.031, allocations: 0.8964 MB / 2.439 GB, free: 89.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/7.032, allocations: 236.6 kB / 2.439 GB, free: 89.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/7.032, allocations: 23.98 kB / 2.439 GB, free: 89.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001399/7.032, allocations: 349.9 kB / 2.439 GB, free: 88.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/7.034, allocations: 434.3 kB / 2.44 GB, free: 88.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/7.037, allocations: 0.8915 MB / 2.441 GB, free: 87.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/7.039, allocations: 0.5357 MB / 2.441 GB, free: 86.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/7.039, allocations: 4 kB / 2.441 GB, free: 86.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.006013/7.045, allocations: 1.449 MB / 2.443 GB, free: 85.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001119/7.046, allocations: 5.116 MB / 2.448 GB, free: 79.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.98e-05/7.046, allocations: 12 kB / 2.448 GB, free: 79.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.474e-05/7.046, allocations: 23.89 kB / 2.448 GB, free: 79.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/7.049, allocations: 291.5 kB / 2.448 GB, free: 79.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.139e-05/7.049, allocations: 27.92 kB / 2.448 GB, free: 79.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/7.052, allocations: 154.8 kB / 2.448 GB, free: 79.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/7.053, allocations: 71.86 kB / 2.448 GB, free: 79.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/7.053, allocations: 4 kB / 2.448 GB, free: 79.19 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005201/7.058, allocations: 1.266 MB / 2.449 GB, free: 77.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.577e-05/7.058, allocations: 15.98 kB / 2.449 GB, free: 77.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/7.058, allocations: 20.91 kB / 2.449 GB, free: 77.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/7.06, allocations: 283.6 kB / 2.45 GB, free: 77.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/7.06, allocations: 31.86 kB / 2.45 GB, free: 77.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/7.063, allocations: 155.7 kB / 2.45 GB, free: 77.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/7.064, allocations: 63.97 kB / 2.45 GB, free: 77.36 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.001622/7.065, allocations: 0.489 MB / 2.45 GB, free: 76.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005806/7.066, allocations: 177.7 kB / 2.451 GB, free: 76.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005883/7.072, allocations: 1.266 MB / 2.452 GB, free: 75.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/7.072, allocations: 8 kB / 2.452 GB, free: 75.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/7.072, allocations: 3.938 kB / 2.452 GB, free: 75.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004285/7.076, allocations: 1.145 MB / 2.453 GB, free: 74.18 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.009784/7.086, allocations: 2.695 MB / 2.456 GB, free: 71.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/7.086, allocations: 0 / 2.456 GB, free: 71.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/7.088, allocations: 182 kB / 2.456 GB, free: 71.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/7.088, allocations: 4 kB / 2.456 GB, free: 71.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/7.088, allocations: 19.98 kB / 2.456 GB, free: 71.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.537e-06/7.088, allocations: 4 kB / 2.456 GB, free: 71.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/7.088, allocations: 7.922 kB / 2.456 GB, free: 71.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006938/7.095, allocations: 1.813 MB / 2.458 GB, free: 69.33 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/7.096, allocations: 346.7 kB / 2.458 GB, free: 68.97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/7.097, allocations: 19.95 kB / 2.458 GB, free: 68.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/7.099, allocations: 135.7 kB / 2.458 GB, free: 68.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/7.099, allocations: 60.42 kB / 2.458 GB, free: 68.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/7.099, allocations: 39.89 kB / 2.458 GB, free: 68.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002354/7.102, allocations: 1.039 MB / 2.459 GB, free: 67.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.41e-07/7.102, allocations: 3.938 kB / 2.459 GB, free: 67.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006436/7.108, allocations: 1.076 MB / 2.46 GB, free: 66.58 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.01018/7.119, allocations: 3.597 MB / 2.464 GB, free: 63.03 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007355/7.126, allocations: 1.903 MB / 2.466 GB, free: 61.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/7.126, allocations: 0 / 2.466 GB, free: 61.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002161/7.128, allocations: 0.508 MB / 2.466 GB, free: 60.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006199/7.134, allocations: 0.7747 MB / 2.467 GB, free: 59.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/7.157, allocations: 13.59 MB / 2.48 GB, free: 45.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/7.158, allocations: 1.412 MB / 2.482 GB, free: 44.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003796/7.162, allocations: 468.8 kB / 2.482 GB, free: 44.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/7.164, allocations: 0.7531 MB / 2.483 GB, free: 43.36 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/7.164, allocations: 0 / 2.483 GB, free: 43.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1374/7.301, allocations: 56.68 MB / 2.538 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002857/7.302, allocations: 247.9 kB / 2.538 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.077/12.38, allocations: 2.953 kB / 2.538 GB, free: 3.383 MB / 0.9636 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)