Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.086/2.086, allocations: 251 MB / 265.9 MB, free: 11.7 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.001585/0.001585, allocations: 171.2 kB / 325.5 MB, free: 2.934 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.324/2.324, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.00115/0.00115, allocations: 91.61 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004875, allocations: 12.44 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2144, allocations: 106.3 MB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.615/1.83, allocations: 442.7 MB / 1.331 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/1.83, allocations: 104.3 kB / 1.331 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.157/6.987, allocations: 0.9609 GB / 2.292 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.505e-06/6.987, allocations: 3.406 kB / 2.292 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.00043/6.987, allocations: 49.55 kB / 2.292 GB, free: 119.8 MB / 0.8855 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.01171/6.999, allocations: 2.647 MB / 2.295 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/6.999, allocations: 11.59 kB / 2.295 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007647/7, allocations: 182.7 kB / 2.295 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007236/7.007, allocations: 0.7351 MB / 2.296 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03161/7.039, allocations: 8.842 MB / 2.304 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/7.039, allocations: 98.34 kB / 2.304 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/7.04, allocations: 133.8 kB / 2.304 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005162/7.045, allocations: 1.543 MB / 2.306 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.294e-05/7.045, allocations: 7.062 kB / 2.306 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/7.045, allocations: 46.44 kB / 2.306 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.963e-05/7.045, allocations: 40.14 kB / 2.306 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005917/7.051, allocations: 1.215 MB / 2.307 GB, free: 110.2 MB / 0.8855 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.01874/7.07, allocations: 8.386 MB / 2.315 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007778/7.078, allocations: 1.156 MB / 2.317 GB, free: 102 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008579/7.086, allocations: 2.93 MB / 2.319 GB, free: 99.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002201/7.089, allocations: 0.519 MB / 2.32 GB, free: 99.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001557/7.09, allocations: 197.5 kB / 2.32 GB, free: 99 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 4.558e-06/7.09, allocations: 0 / 2.32 GB, free: 99 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.006478/7.097, allocations: 1.306 MB / 2.321 GB, free: 98.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/7.097, allocations: 115.2 kB / 2.322 GB, free: 98.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/7.1, allocations: 1.357 MB / 2.323 GB, free: 97.41 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003218/7.1, allocations: 41.7 kB / 2.323 GB, free: 97.36 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009822/7.101, allocations: 0.9102 MB / 2.324 GB, free: 96.44 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/7.102, allocations: 232.6 kB / 2.324 GB, free: 96.21 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/7.102, allocations: 20 kB / 2.324 GB, free: 96.19 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001084/7.102, allocations: 345.9 kB / 2.324 GB, free: 95.85 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/7.104, allocations: 431.8 kB / 2.325 GB, free: 95.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/7.107, allocations: 0.8986 MB / 2.326 GB, free: 94.33 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/7.109, allocations: 0.5394 MB / 2.326 GB, free: 93.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/7.109, allocations: 4 kB / 2.326 GB, free: 93.81 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005721/7.115, allocations: 1.455 MB / 2.328 GB, free: 92.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001242/7.116, allocations: 5.112 MB / 2.333 GB, free: 86.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-05/7.116, allocations: 12 kB / 2.333 GB, free: 86.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.191e-05/7.116, allocations: 20 kB / 2.333 GB, free: 86.83 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002488/7.119, allocations: 303.4 kB / 2.333 GB, free: 86.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.799e-05/7.119, allocations: 23.92 kB / 2.333 GB, free: 86.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/7.122, allocations: 155.7 kB / 2.333 GB, free: 86.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/7.122, allocations: 59.98 kB / 2.333 GB, free: 86.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/7.122, allocations: 5.25 kB / 2.333 GB, free: 86.29 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005133/7.127, allocations: 1.274 MB / 2.334 GB, free: 85.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.993e-05/7.127, allocations: 12 kB / 2.334 GB, free: 85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/7.127, allocations: 20.88 kB / 2.334 GB, free: 84.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/7.13, allocations: 291.5 kB / 2.335 GB, free: 84.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.13e-05/7.13, allocations: 27.92 kB / 2.335 GB, free: 84.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/7.133, allocations: 159.7 kB / 2.335 GB, free: 84.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/7.133, allocations: 59.98 kB / 2.335 GB, free: 84.45 MB / 0.8855 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.00139/7.134, allocations: 497.2 kB / 2.335 GB, free: 83.96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005284/7.135, allocations: 177.8 kB / 2.336 GB, free: 83.78 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005597/7.14, allocations: 1.269 MB / 2.337 GB, free: 82.51 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/7.141, allocations: 15.98 kB / 2.337 GB, free: 82.49 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/7.141, allocations: 0 / 2.337 GB, free: 82.49 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003996/7.145, allocations: 1.149 MB / 2.338 GB, free: 81.28 MB / 0.8855 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.009419/7.154, allocations: 2.683 MB / 2.341 GB, free: 78.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/7.154, allocations: 0 / 2.341 GB, free: 78.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/7.156, allocations: 171.9 kB / 2.341 GB, free: 78.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/7.156, allocations: 4 kB / 2.341 GB, free: 78.34 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/7.156, allocations: 27.97 kB / 2.341 GB, free: 78.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/7.156, allocations: 11.88 kB / 2.341 GB, free: 78.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/7.156, allocations: 3.953 kB / 2.341 GB, free: 78.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006656/7.163, allocations: 1.805 MB / 2.343 GB, free: 76.45 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/7.164, allocations: 350.6 kB / 2.343 GB, free: 76.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006257/7.165, allocations: 19.92 kB / 2.343 GB, free: 76.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/7.167, allocations: 135.8 kB / 2.343 GB, free: 75.93 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/7.168, allocations: 60.52 kB / 2.343 GB, free: 75.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/7.168, allocations: 31.97 kB / 2.343 GB, free: 75.84 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002463/7.17, allocations: 1.039 MB / 2.344 GB, free: 74.78 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.12e-07/7.17, allocations: 0 / 2.344 GB, free: 74.78 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005535/7.176, allocations: 1.064 MB / 2.345 GB, free: 73.71 MB / 0.8855 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.009597/7.186, allocations: 3.607 MB / 2.349 GB, free: 70.15 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00705/7.193, allocations: 1.903 MB / 2.351 GB, free: 68.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/7.193, allocations: 4 kB / 2.351 GB, free: 68.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/7.195, allocations: 0.4999 MB / 2.351 GB, free: 67.71 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005922/7.201, allocations: 0.7684 MB / 2.352 GB, free: 66.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/7.217, allocations: 13.6 MB / 2.365 GB, free: 53.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/7.218, allocations: 1.412 MB / 2.366 GB, free: 51.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003617/7.222, allocations: 468.6 kB / 2.367 GB, free: 51.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/7.224, allocations: 0.7531 MB / 2.368 GB, free: 50.49 MB / 0.8855 GB Notification: Performance of SimCode: time 1.293e-06/7.224, allocations: 0 / 2.368 GB, free: 50.49 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1754/7.399, allocations: 56.49 MB / 2.423 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003994/7.4, allocations: 268.5 kB / 2.423 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.946/12.35, allocations: 4 kB / 2.423 GB, free: 10.84 MB / 0.9011 GB