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.469/1.469, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009901/0.0009902, allocations: 161.4 kB / 326.5 MB, free: 2.68 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.925/1.925, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0008386/0.0008389, allocations: 94.47 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 9.156 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2379, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.04824/0.2862, allocations: 62.09 MB / 0.9574 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02921/0.3155, allocations: 19.64 MB / 0.9766 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004002/0.3195, allocations: 87.44 kB / 0.9766 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004217/0.3238, allocations: 1.049 MB / 0.9777 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009318/0.3332, allocations: 2.517 MB / 0.9801 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.009688/0.3429, allocations: 3.147 MB / 0.9832 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00957/0.3525, allocations: 6.657 MB / 0.9897 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.3552, allocations: 1.423 MB / 0.9911 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004567/0.3598, allocations: 1.828 MB / 0.9929 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/0.3625, allocations: 1.45 MB / 0.9943 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005517/0.3631, allocations: 76 kB / 0.9944 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005041/0.3681, allocations: 1.961 MB / 0.9963 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007572/0.3689, allocations: 442.1 kB / 0.9967 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.3706, allocations: 1.002 MB / 0.9977 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.3749, allocations: 2.825 MB / 1 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3749, allocations: 0 / 1 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3749, allocations: 0 / 1 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.812e-05/0.3749, allocations: 0 / 1 GB, free: 9.613 MB / 0.6511 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.004502/0.3794, allocations: 2.257 MB / 1.003 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3795, allocations: 8.031 kB / 1.003 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/0.3833, allocations: 0.7742 MB / 1.003 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.3867, allocations: 1.825 MB / 1.005 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/0.3871, allocations: 162.6 kB / 1.005 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.3873, allocations: 132 kB / 1.005 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.3905, allocations: 1.673 MB / 1.007 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.3905, allocations: 4 kB / 1.007 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.3906, allocations: 55.94 kB / 1.007 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.3907, allocations: 32 kB / 1.007 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003527/0.3942, allocations: 1.507 MB / 1.009 GB, free: 0.9414 MB / 0.6511 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.01196/0.4062, allocations: 8.85 MB / 1.017 GB, free: 7.449 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004792/0.411, allocations: 1.481 MB / 1.019 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.4125, allocations: 0.6082 MB / 1.019 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004747/0.4172, allocations: 2.875 MB / 1.022 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001617/0.4189, allocations: 0.6589 MB / 1.023 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007724/0.4197, allocations: 179 kB / 1.023 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=66): time 3.386e-06/0.4197, allocations: 0 / 1.023 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66): time 0.004428/0.4241, allocations: 1.684 MB / 1.025 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.4242, allocations: 141 kB / 1.025 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.4264, allocations: 1.588 MB / 1.026 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-05/0.4265, allocations: 41.7 kB / 1.026 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007895/0.4273, allocations: 0.8962 MB / 1.027 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.4275, allocations: 244.6 kB / 1.027 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.4276, allocations: 101.7 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4278, allocations: 345.9 kB / 1.028 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.4292, allocations: 0.5725 MB / 1.028 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.431, allocations: 1.053 MB / 1.029 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.4342, allocations: 1.524 MB / 1.031 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.4342, allocations: 4 kB / 1.031 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004188/0.4384, allocations: 1.743 MB / 1.033 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003843/0.4388, allocations: 491.3 kB / 1.033 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.4388, allocations: 15.94 kB / 1.033 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-05/0.4389, allocations: 20 kB / 1.033 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.4402, allocations: 331.5 kB / 1.033 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-05/0.4402, allocations: 27.92 kB / 1.033 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.4421, allocations: 196.3 kB / 1.034 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.4422, allocations: 59.97 kB / 1.034 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.4423, allocations: 4 kB / 1.034 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003894/0.4462, allocations: 1.532 MB / 1.035 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.4462, allocations: 15.98 kB / 1.035 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.4462, allocations: 23.94 kB / 1.035 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.4478, allocations: 332.2 kB / 1.036 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-05/0.4479, allocations: 23.88 kB / 1.036 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.4502, allocations: 200.4 kB / 1.036 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.4503, allocations: 55.98 kB / 1.036 GB, free: 3.445 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00104/0.4514, allocations: 0.4967 MB / 1.036 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.4518, allocations: 181.7 kB / 1.037 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.4556, allocations: 1.508 MB / 1.038 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/0.4557, allocations: 15.94 kB / 1.038 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.4557, allocations: 0 / 1.038 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00314/0.4589, allocations: 1.398 MB / 1.039 GB, free: 15.78 MB / 0.698 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.007012/0.4659, allocations: 3.109 MB / 1.042 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4659, allocations: 0 / 1.042 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.467, allocations: 227.8 kB / 1.043 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.467, allocations: 0 / 1.043 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.4671, allocations: 31.97 kB / 1.043 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.4671, allocations: 0 / 1.043 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4671, allocations: 4 kB / 1.043 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004759/0.4719, allocations: 2.198 MB / 1.045 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007698/0.4727, allocations: 370.5 kB / 1.045 GB, free: 9.711 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.4729, allocations: 16 kB / 1.045 GB, free: 9.695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.4741, allocations: 169.7 kB / 1.045 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.4742, allocations: 52.58 kB / 1.045 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/0.4743, allocations: 31.97 kB / 1.045 GB, free: 9.449 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001448/0.4758, allocations: 1.07 MB / 1.046 GB, free: 8.355 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4758, allocations: 0 / 1.046 GB, free: 8.355 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002893/0.4787, allocations: 0.9785 MB / 1.047 GB, free: 7.375 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.4799, allocations: 0.5526 MB / 1.048 GB, free: 6.828 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005235/0.4852, allocations: 2.317 MB / 1.05 GB, free: 4.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4852, allocations: 8.188 kB / 1.05 GB, free: 4.473 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.4867, allocations: 0.6284 MB / 1.051 GB, free: 3.848 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/0.4903, allocations: 0.7904 MB / 1.052 GB, free: 3.066 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4369/0.9272, allocations: 4.581 MB / 1.056 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/0.9281, allocations: 1.371 MB / 1.057 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007323/0.9288, allocations: 162.1 kB / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/0.9288, allocations: 0 / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of Templates: time 0.06158/0.9904, allocations: 32.77 MB / 1.09 GB, free: 134.5 MB / 0.698 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)