Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009568/0.000957, allocations: 178.5 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 0.5785 GB, free: 20.19 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.0008348/0.0008347, allocations: 92.53 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005842/0.0005846, allocations: 10.59 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2135, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8921/1.106, allocations: 443 MB / 1.334 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.106, allocations: 94.83 kB / 1.334 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.929/4.035, allocations: 0.9553 GB / 2.289 GB, free: 71.66 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.404e-06/4.035, allocations: 0 / 2.289 GB, free: 71.66 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002889/4.035, allocations: 55.92 kB / 2.289 GB, free: 71.61 MB / 0.8698 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.006315/4.041, allocations: 2.616 MB / 2.292 GB, free: 68.92 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/4.041, allocations: 8.031 kB / 2.292 GB, free: 68.91 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/4.045, allocations: 0.7319 MB / 2.293 GB, free: 68.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/4.059, allocations: 8.166 MB / 2.301 GB, free: 59.94 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/4.06, allocations: 94.75 kB / 2.301 GB, free: 59.84 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/4.06, allocations: 132 kB / 2.301 GB, free: 59.72 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/4.063, allocations: 1.546 MB / 2.302 GB, free: 58.04 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/4.063, allocations: 11.88 kB / 2.302 GB, free: 58.03 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/4.063, allocations: 48 kB / 2.302 GB, free: 57.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/4.063, allocations: 32 kB / 2.302 GB, free: 57.95 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/4.066, allocations: 1.214 MB / 2.304 GB, free: 56.73 MB / 0.8698 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.008782/4.075, allocations: 8.368 MB / 2.312 GB, free: 47.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/4.078, allocations: 1.138 MB / 2.313 GB, free: 46.59 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009353/4.079, allocations: 482.1 kB / 2.313 GB, free: 46.12 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00417/4.083, allocations: 2.925 MB / 2.316 GB, free: 42.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/4.084, allocations: 0.5222 MB / 2.317 GB, free: 42.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008178/4.085, allocations: 199 kB / 2.317 GB, free: 42.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=66): time 3.647e-06/4.085, allocations: 0 / 2.317 GB, free: 42.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=66): time 0.002943/4.088, allocations: 1.301 MB / 2.318 GB, free: 40.89 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/4.088, allocations: 115.4 kB / 2.318 GB, free: 40.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/4.09, allocations: 1.522 MB / 2.32 GB, free: 39.19 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/4.091, allocations: 41.7 kB / 2.32 GB, free: 39.14 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/4.091, allocations: 0.9003 MB / 2.321 GB, free: 38.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/4.092, allocations: 236.6 kB / 2.321 GB, free: 38 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/4.092, allocations: 23.98 kB / 2.321 GB, free: 37.97 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/4.092, allocations: 349.9 kB / 2.321 GB, free: 37.62 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/4.093, allocations: 430.3 kB / 2.322 GB, free: 37.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/4.094, allocations: 0.8993 MB / 2.323 GB, free: 36.09 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/4.096, allocations: 1.263 MB / 2.324 GB, free: 34.65 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/4.096, allocations: 4 kB / 2.324 GB, free: 34.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003071/4.099, allocations: 1.45 MB / 2.325 GB, free: 33.18 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/4.1, allocations: 492.1 kB / 2.326 GB, free: 32.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/4.1, allocations: 15.94 kB / 2.326 GB, free: 32.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.349e-05/4.1, allocations: 27.83 kB / 2.326 GB, free: 32.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/4.101, allocations: 287.5 kB / 2.326 GB, free: 32.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/4.101, allocations: 23.92 kB / 2.326 GB, free: 32.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/4.103, allocations: 147.8 kB / 2.326 GB, free: 32.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/4.103, allocations: 67.97 kB / 2.326 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/4.103, allocations: 4 kB / 2.326 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002563/4.105, allocations: 1.262 MB / 2.327 GB, free: 30.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/4.105, allocations: 20.95 kB / 2.327 GB, free: 30.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/4.105, allocations: 16 kB / 2.327 GB, free: 30.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/4.106, allocations: 291.4 kB / 2.328 GB, free: 30.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/4.106, allocations: 27.92 kB / 2.328 GB, free: 30.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/4.108, allocations: 159.7 kB / 2.328 GB, free: 30.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/4.108, allocations: 63.97 kB / 2.328 GB, free: 30.12 MB / 0.8698 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.0009108/4.109, allocations: 0.4895 MB / 2.328 GB, free: 29.62 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/4.109, allocations: 177.8 kB / 2.329 GB, free: 29.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/4.112, allocations: 1.267 MB / 2.33 GB, free: 28.18 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/4.112, allocations: 8 kB / 2.33 GB, free: 28.17 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/4.112, allocations: 4 kB / 2.33 GB, free: 28.17 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001812/4.114, allocations: 1.145 MB / 2.331 GB, free: 26.95 MB / 0.8698 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.005008/4.119, allocations: 2.66 MB / 2.334 GB, free: 24.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/4.119, allocations: 6.578 kB / 2.334 GB, free: 24.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/4.12, allocations: 183.8 kB / 2.334 GB, free: 24.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.779e-06/4.12, allocations: 4 kB / 2.334 GB, free: 24.02 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.414e-05/4.12, allocations: 19.98 kB / 2.334 GB, free: 24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/4.12, allocations: 4 kB / 2.334 GB, free: 24 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/4.12, allocations: 0 / 2.334 GB, free: 24 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/4.123, allocations: 1.784 MB / 2.336 GB, free: 22.19 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006637/4.124, allocations: 338.6 kB / 2.336 GB, free: 21.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003265/4.124, allocations: 19.62 kB / 2.336 GB, free: 21.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/4.125, allocations: 131.8 kB / 2.336 GB, free: 21.69 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/4.125, allocations: 56.52 kB / 2.336 GB, free: 21.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/4.125, allocations: 31.97 kB / 2.336 GB, free: 21.61 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001419/4.127, allocations: 1.012 MB / 2.337 GB, free: 20.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.127, allocations: 0 / 2.337 GB, free: 20.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003497/4.13, allocations: 1.057 MB / 2.338 GB, free: 19.51 MB / 0.8698 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.002062/4.132, allocations: 1.182 MB / 2.339 GB, free: 18.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003637/4.136, allocations: 1.9 MB / 2.341 GB, free: 16.46 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/4.136, allocations: 0 / 2.341 GB, free: 16.46 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009926/4.137, allocations: 0.5036 MB / 2.342 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/4.14, allocations: 0.7771 MB / 2.342 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007994/4.148, allocations: 4.399 MB / 2.347 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000898/4.149, allocations: 1.369 MB / 2.348 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002127/4.152, allocations: 467 kB / 2.348 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/4.152, allocations: 147.4 kB / 2.349 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/4.152, allocations: 0 / 2.349 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of Templates: time 0.05913/4.211, allocations: 38.37 MB / 2.386 GB, free: 2.953 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)