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.463/1.463, allocations: 252 MB / 267.6 MB, free: 10.91 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.00108/0.001081, allocations: 180.6 kB / 327.3 MB, free: 2.195 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.968/1.968, allocations: 205.4 MB / 0.5783 GB, free: 20.18 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.0009127/0.0009127, allocations: 101.5 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003902, allocations: 8.531 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2377, allocations: 106.3 MB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.04105/0.2788, allocations: 57.91 MB / 0.9574 GB, free: 5.766 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02932/0.3082, allocations: 18.02 MB / 0.975 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003723/0.312, allocations: 79.44 kB / 0.9751 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003868/0.3159, allocations: 0.8308 MB / 0.9759 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008067/0.324, allocations: 2.167 MB / 0.978 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0098/0.3338, allocations: 2.679 MB / 0.9806 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009008/0.3428, allocations: 5.708 MB / 0.9862 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00355/0.3464, allocations: 1.31 MB / 0.9875 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/0.3515, allocations: 1.719 MB / 0.9891 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.3547, allocations: 1.353 MB / 0.9905 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007447/0.3555, allocations: 83.94 kB / 0.9905 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005053/0.3606, allocations: 1.575 MB / 0.9921 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.3617, allocations: 422.3 kB / 0.9925 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.363, allocations: 448.6 kB / 0.9929 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005035/0.3681, allocations: 2.759 MB / 0.9956 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3681, allocations: 3.938 kB / 0.9956 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3681, allocations: 0 / 0.9956 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001374/0.3683, allocations: 0 / 0.9956 GB, free: 14.53 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.006048/0.3743, allocations: 2.274 MB / 0.9978 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3744, allocations: 8.031 kB / 0.9978 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.3786, allocations: 0.77 MB / 0.9986 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/0.3834, allocations: 1.748 MB / 1 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004542/0.3839, allocations: 166.5 kB / 1 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004683/0.3843, allocations: 132 kB / 1.001 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004357/0.3887, allocations: 1.665 MB / 1.002 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/0.3888, allocations: 4 kB / 1.002 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.389, allocations: 56 kB / 1.002 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.389, allocations: 32 kB / 1.002 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004162/0.3932, allocations: 1.503 MB / 1.004 GB, free: 5.934 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.01479/0.408, allocations: 8.85 MB / 1.012 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005335/0.4134, allocations: 1.484 MB / 1.014 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.4151, allocations: 0.5998 MB / 1.014 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005833/0.421, allocations: 2.859 MB / 1.017 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001795/0.4228, allocations: 0.6589 MB / 1.018 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001131/0.424, allocations: 179 kB / 1.018 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=66): time 7.324e-06/0.424, allocations: 0 / 1.018 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66): time 0.00506/0.4291, allocations: 1.68 MB / 1.02 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.4292, allocations: 133.1 kB / 1.02 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003205/0.4324, allocations: 1.58 MB / 1.021 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001951/0.4327, allocations: 41.7 kB / 1.021 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.4337, allocations: 0.9003 MB / 1.022 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.4341, allocations: 244.6 kB / 1.022 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.4341, allocations: 20 kB / 1.023 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4343, allocations: 349.9 kB / 1.023 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.436, allocations: 0.5569 MB / 1.023 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.4379, allocations: 1.03 MB / 1.024 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.4397, allocations: 0.6606 MB / 1.025 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.4398, allocations: 4 kB / 1.025 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004637/0.4444, allocations: 1.7 MB / 1.027 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004875/0.4449, allocations: 487.3 kB / 1.027 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.565e-05/0.445, allocations: 16 kB / 1.027 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.063e-05/0.445, allocations: 20 kB / 1.027 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.4465, allocations: 331.5 kB / 1.028 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-05/0.4466, allocations: 27.92 kB / 1.028 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.4488, allocations: 192.4 kB / 1.028 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.449, allocations: 67.92 kB / 1.028 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.449, allocations: 6.656 kB / 1.028 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004143/0.4532, allocations: 1.52 MB / 1.029 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.22e-05/0.4532, allocations: 16.91 kB / 1.029 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.4533, allocations: 20 kB / 1.029 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.4547, allocations: 331.5 kB / 1.03 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.514e-05/0.4548, allocations: 27.92 kB / 1.03 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.457, allocations: 188.5 kB / 1.03 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.4572, allocations: 63.95 kB / 1.03 GB, free: 9.688 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 ($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.001357/0.4586, allocations: 0.4922 MB / 1.03 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/0.4592, allocations: 181.7 kB / 1.031 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004415/0.4636, allocations: 1.52 MB / 1.032 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.4637, allocations: 11.98 kB / 1.032 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4637, allocations: 4.031 kB / 1.032 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003238/0.4669, allocations: 1.395 MB / 1.033 GB, free: 6.016 MB / 0.6823 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.008161/0.4751, allocations: 3.105 MB / 1.036 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.4752, allocations: 0 / 1.036 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.4764, allocations: 223.8 kB / 1.037 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.492e-05/0.4764, allocations: 4 kB / 1.037 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.669e-05/0.4765, allocations: 23.98 kB / 1.037 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.4765, allocations: 7.938 kB / 1.037 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4765, allocations: 3.953 kB / 1.037 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005468/0.482, allocations: 2.178 MB / 1.039 GB, free: 364 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.4832, allocations: 378.7 kB / 1.039 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004734/0.4837, allocations: 19.98 kB / 1.039 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/0.4854, allocations: 171.8 kB / 1.039 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.4856, allocations: 60.47 kB / 1.039 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.4857, allocations: 35.97 kB / 1.039 GB, free: 15.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002359/0.4881, allocations: 1.051 MB / 1.04 GB, free: 14.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4881, allocations: 0 / 1.04 GB, free: 14.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004281/0.4924, allocations: 0.9745 MB / 1.041 GB, free: 13.63 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 (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.001606/0.494, allocations: 0.5316 MB / 1.042 GB, free: 13.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006235/0.5003, allocations: 2.286 MB / 1.044 GB, free: 10.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.5003, allocations: 4.188 kB / 1.044 GB, free: 10.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.502, allocations: 0.6284 MB / 1.045 GB, free: 10.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/0.5066, allocations: 0.7911 MB / 1.046 GB, free: 9.371 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.5193, allocations: 4.637 MB / 1.05 GB, free: 4.684 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.5209, allocations: 1.369 MB / 1.051 GB, free: 3.285 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000825/0.5217, allocations: 171.3 kB / 1.052 GB, free: 3.117 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/0.5217, allocations: 0 / 1.052 GB, free: 3.117 MB / 0.698 GB Notification: Performance of Templates: time 0.5065/1.028, allocations: 32.78 MB / 1.084 GB, free: 131.9 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)