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.195/2.195, allocations: 248.5 MB / 261 MB, free: 5.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 170.9 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001109/0.001108, allocations: 104.6 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.593e-05/4.607e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2148, allocations: 106.2 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.893/2.108, allocations: 442.6 MB / 1.323 GB, free: 251 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/2.109, allocations: 101 kB / 1.323 GB, free: 251 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.158/7.267, allocations: 0.9577 GB / 2.281 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.355e-06/7.267, allocations: 1.188 kB / 2.281 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004764/7.267, allocations: 55.86 kB / 2.281 GB, free: 123.9 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.009362/7.277, allocations: 2.14 MB / 2.283 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/7.277, allocations: 10.25 kB / 2.283 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006537/7.277, allocations: 177.9 kB / 2.283 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007286/7.285, allocations: 0.7326 MB / 2.284 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04067/7.325, allocations: 8.782 MB / 2.292 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/7.326, allocations: 99.8 kB / 2.292 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007263/7.327, allocations: 133.8 kB / 2.293 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004553/7.331, allocations: 1.43 MB / 2.294 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.451e-05/7.331, allocations: 5.312 kB / 2.294 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/7.331, allocations: 49.59 kB / 2.294 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/7.332, allocations: 34.2 kB / 2.294 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003947/7.336, allocations: 1.002 MB / 2.295 GB, free: 122 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01943/7.355, allocations: 8.37 MB / 2.303 GB, free: 117 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/7.361, allocations: 0.9272 MB / 2.304 GB, free: 117 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/7.362, allocations: 384.6 kB / 2.305 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009503/7.371, allocations: 2.941 MB / 2.307 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/7.373, allocations: 438.8 kB / 2.308 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001819/7.375, allocations: 192.4 kB / 2.308 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 9.047e-06/7.375, allocations: 0 / 2.308 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.004278/7.379, allocations: 0.761 MB / 2.309 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/7.379, allocations: 118.4 kB / 2.309 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004115/7.383, allocations: 1.336 MB / 2.31 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003382/7.384, allocations: 44.3 kB / 2.31 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/7.385, allocations: 0.8999 MB / 2.311 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/7.386, allocations: 237.7 kB / 2.311 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/7.386, allocations: 23 kB / 2.311 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001225/7.386, allocations: 348.9 kB / 2.312 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/7.387, allocations: 326.8 kB / 2.312 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/7.388, allocations: 0.7896 MB / 2.313 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/7.39, allocations: 458.7 kB / 2.313 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/7.39, allocations: 4.719 kB / 2.313 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004443/7.394, allocations: 1.243 MB / 2.314 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001217/7.396, allocations: 5.12 MB / 2.319 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-05/7.396, allocations: 14.12 kB / 2.319 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.319e-05/7.396, allocations: 21.34 kB / 2.319 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/7.399, allocations: 291.9 kB / 2.32 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.541e-05/7.399, allocations: 33.08 kB / 2.32 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/7.402, allocations: 156.5 kB / 2.32 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/7.402, allocations: 64.2 kB / 2.32 GB, free: 108 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/7.403, allocations: 3.188 kB / 2.32 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003122/7.406, allocations: 1.06 MB / 2.321 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.017e-05/7.406, allocations: 17.31 kB / 2.321 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/7.406, allocations: 19.47 kB / 2.321 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/7.408, allocations: 289.6 kB / 2.321 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.023e-05/7.408, allocations: 30.45 kB / 2.321 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/7.411, allocations: 150.7 kB / 2.321 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002722/7.412, allocations: 62.77 kB / 2.322 GB, free: 108 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 () * 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.0004527/7.412, allocations: 186.2 kB / 2.322 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005229/7.413, allocations: 172.8 kB / 2.322 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/7.416, allocations: 1.064 MB / 2.323 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/7.416, allocations: 11.5 kB / 2.323 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/7.416, allocations: 0 / 2.323 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001749/7.418, allocations: 0.9509 MB / 2.324 GB, free: 107.3 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.007257/7.425, allocations: 2.493 MB / 2.326 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/7.425, allocations: 0 / 2.326 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/7.427, allocations: 179 kB / 2.326 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/7.427, allocations: 3.969 kB / 2.326 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/7.427, allocations: 28.39 kB / 2.326 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/7.427, allocations: 9.422 kB / 2.326 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/7.427, allocations: 0 / 2.326 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/7.43, allocations: 1.5 MB / 2.328 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/7.432, allocations: 356.3 kB / 2.328 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/7.432, allocations: 14.72 kB / 2.328 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/7.434, allocations: 135.3 kB / 2.328 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/7.434, allocations: 54.3 kB / 2.328 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/7.435, allocations: 32.59 kB / 2.329 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002081/7.437, allocations: 1.019 MB / 2.33 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.71e-07/7.437, allocations: 0 / 2.33 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005737/7.442, allocations: 1.074 MB / 2.331 GB, free: 106 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) * 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.006464/7.449, allocations: 3.304 MB / 2.334 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004351/7.453, allocations: 1.663 MB / 2.335 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/7.453, allocations: 3.562 kB / 2.335 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/7.455, allocations: 413.3 kB / 2.336 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006578/7.461, allocations: 0.7654 MB / 2.337 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/7.475, allocations: 3.172 MB / 2.34 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/7.476, allocations: 1.413 MB / 2.341 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005368/7.481, allocations: 0.602 MB / 2.342 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/7.483, allocations: 0.7271 MB / 2.342 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.703e-06/7.483, allocations: 2.906 kB / 2.342 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1599/7.643, allocations: 61.32 MB / 2.402 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/7.643, allocations: 225.3 kB / 2.402 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.341/12.98, allocations: 0 / 2.402 GB, free: 100.2 MB / 0.8855 GB