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 loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.88/3.88, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.002113/0.002113, allocations: 177.8 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.981/3.981, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001517/0.001517, allocations: 88.17 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008056/0.0008062, allocations: 13.19 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3428, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.994/2.336, allocations: 442.7 MB / 1.332 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005184/2.337, allocations: 100.3 kB / 1.332 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.838/10.18, allocations: 0.9552 GB / 2.287 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.488e-06/10.18, allocations: 0 / 2.287 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006324/10.18, allocations: 58.3 kB / 2.287 GB, free: 122.5 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.01599/10.19, allocations: 2.643 MB / 2.29 GB, free: 121 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/10.19, allocations: 14 kB / 2.29 GB, free: 121 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009785/10.2, allocations: 0.7327 MB / 2.29 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04056/10.24, allocations: 8.082 MB / 2.298 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000264/10.24, allocations: 100.2 kB / 2.298 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008029/10.24, allocations: 133.7 kB / 2.299 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007926/10.25, allocations: 1.547 MB / 2.3 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.897e-05/10.25, allocations: 3.938 kB / 2.3 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003637/10.25, allocations: 50.59 kB / 2.3 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.026e-05/10.25, allocations: 39.45 kB / 2.3 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008298/10.26, allocations: 1.213 MB / 2.301 GB, free: 114 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.02664/10.29, allocations: 8.346 MB / 2.31 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/10.3, allocations: 1.146 MB / 2.311 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003175/10.3, allocations: 483 kB / 2.311 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01314/10.31, allocations: 2.922 MB / 2.314 GB, free: 103 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003476/10.32, allocations: 0.5219 MB / 2.314 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002488/10.32, allocations: 210.8 kB / 2.315 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 1.602e-05/10.32, allocations: 0 / 2.315 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.01015/10.33, allocations: 1.299 MB / 2.316 GB, free: 102 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/10.33, allocations: 107.3 kB / 2.316 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005421/10.34, allocations: 1.528 MB / 2.318 GB, free: 101 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004156/10.34, allocations: 43.7 kB / 2.318 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001787/10.34, allocations: 0.9055 MB / 2.318 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006011/10.34, allocations: 232.3 kB / 2.319 GB, free: 99.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/10.34, allocations: 19.88 kB / 2.319 GB, free: 99.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001698/10.34, allocations: 344.4 kB / 2.319 GB, free: 99.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003046/10.34, allocations: 438.6 kB / 2.319 GB, free: 99.39 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00374/10.35, allocations: 0.8943 MB / 2.32 GB, free: 98.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003491/10.35, allocations: 0.5475 MB / 2.321 GB, free: 98.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.871e-05/10.35, allocations: 3.875 kB / 2.321 GB, free: 98.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009104/10.36, allocations: 1.455 MB / 2.322 GB, free: 97.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000597/10.36, allocations: 488.4 kB / 2.323 GB, free: 96.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-05/10.36, allocations: 18.52 kB / 2.323 GB, free: 96.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.024e-05/10.36, allocations: 21.38 kB / 2.323 GB, free: 96.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/10.36, allocations: 283.9 kB / 2.323 GB, free: 96.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-05/10.36, allocations: 22.58 kB / 2.323 GB, free: 96.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004418/10.37, allocations: 156 kB / 2.323 GB, free: 96.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005705/10.37, allocations: 65.19 kB / 2.323 GB, free: 96.78 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/10.37, allocations: 3.906 kB / 2.323 GB, free: 96.78 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007801/10.38, allocations: 1.267 MB / 2.325 GB, free: 95.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.768e-05/10.38, allocations: 15.98 kB / 2.325 GB, free: 95.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.145e-05/10.38, allocations: 20 kB / 2.325 GB, free: 95.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/10.38, allocations: 288 kB / 2.325 GB, free: 95.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-05/10.38, allocations: 27.92 kB / 2.325 GB, free: 95.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004041/10.38, allocations: 147.9 kB / 2.325 GB, free: 95.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004869/10.39, allocations: 59.97 kB / 2.325 GB, free: 95.07 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.002399/10.39, allocations: 0.4967 MB / 2.326 GB, free: 94.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008007/10.39, allocations: 177.7 kB / 2.326 GB, free: 94.39 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008153/10.4, allocations: 1.271 MB / 2.327 GB, free: 93.13 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.095e-05/10.4, allocations: 12 kB / 2.327 GB, free: 93.12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/10.4, allocations: 0 / 2.327 GB, free: 93.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006163/10.4, allocations: 1.149 MB / 2.328 GB, free: 91.91 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.01476/10.42, allocations: 2.663 MB / 2.331 GB, free: 89.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/10.42, allocations: 0 / 2.331 GB, free: 89.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/10.42, allocations: 183.8 kB / 2.331 GB, free: 88.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.53e-05/10.42, allocations: 4 kB / 2.331 GB, free: 88.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/10.42, allocations: 23.97 kB / 2.331 GB, free: 88.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/10.42, allocations: 4 kB / 2.331 GB, free: 88.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/10.42, allocations: 0 / 2.331 GB, free: 88.95 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/10.43, allocations: 1.788 MB / 2.333 GB, free: 87.13 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/10.43, allocations: 342.5 kB / 2.333 GB, free: 86.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009397/10.43, allocations: 20 kB / 2.333 GB, free: 86.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003729/10.44, allocations: 119.9 kB / 2.333 GB, free: 86.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004222/10.44, allocations: 60.56 kB / 2.333 GB, free: 86.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/10.44, allocations: 34.31 kB / 2.333 GB, free: 86.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0043/10.44, allocations: 1.008 MB / 2.334 GB, free: 85.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.162e-06/10.44, allocations: 0 / 2.334 GB, free: 85.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01044/10.45, allocations: 1.053 MB / 2.335 GB, free: 84.46 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.004956/10.46, allocations: 1.185 MB / 2.336 GB, free: 83.36 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01093/10.47, allocations: 1.907 MB / 2.338 GB, free: 81.42 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/10.47, allocations: 0 / 2.338 GB, free: 81.42 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003179/10.47, allocations: 0.5103 MB / 2.339 GB, free: 80.92 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009649/10.48, allocations: 0.7723 MB / 2.339 GB, free: 80.17 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/10.51, allocations: 4.4 MB / 2.344 GB, free: 75.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/10.51, allocations: 1.369 MB / 2.345 GB, free: 74.37 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005619/10.51, allocations: 464.3 kB / 2.346 GB, free: 73.96 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/10.51, allocations: 151.3 kB / 2.346 GB, free: 73.81 MB / 0.8855 GB Notification: Performance of SimCode: time 2.155e-06/10.51, allocations: 0 / 2.346 GB, free: 73.81 MB / 0.8855 GB Notification: Performance of Templates: time 0.1386/10.65, allocations: 37.87 MB / 2.383 GB, free: 36.95 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)