Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009057/0.0009057, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005408/0.005408, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004866, allocations: 16.12 kB / 0.6743 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2166, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.05959/0.2763, allocations: 61.25 MB / 0.8477 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.3019, allocations: 19.44 MB / 0.8667 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.3048, allocations: 79.44 kB / 0.8667 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.3082, allocations: 1.049 MB / 0.8678 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007078/0.3153, allocations: 2.519 MB / 0.8702 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008266/0.3235, allocations: 3.157 MB / 0.8733 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008149/0.3317, allocations: 6.665 MB / 0.8798 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.3343, allocations: 1.446 MB / 0.8812 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/0.3381, allocations: 1.816 MB / 0.883 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.3407, allocations: 1.446 MB / 0.8844 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003983/0.3411, allocations: 76 kB / 0.8845 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00398/0.3451, allocations: 1.98 MB / 0.8864 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005129/0.3456, allocations: 446 kB / 0.8869 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.3468, allocations: 1.031 MB / 0.8879 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.3512, allocations: 3.687 MB / 0.8915 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3513, allocations: 8 kB / 0.8915 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3513, allocations: 0 / 0.8915 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.956e-05/0.3513, allocations: 0 / 0.8915 GB, free: 1.129 MB / 0.7012 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.004052/0.3554, allocations: 2.26 MB / 0.8937 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3554, allocations: 8.031 kB / 0.8937 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003808/0.3592, allocations: 0.77 MB / 0.8944 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/0.3622, allocations: 1.824 MB / 0.8962 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003773/0.3625, allocations: 162.6 kB / 0.8964 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.3628, allocations: 131.9 kB / 0.8965 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/0.366, allocations: 1.688 MB / 0.8981 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.3661, allocations: 3.938 kB / 0.8981 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.3662, allocations: 52 kB / 0.8982 GB, free: 10 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.3662, allocations: 28 kB / 0.8982 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003773/0.37, allocations: 1.507 MB / 0.8997 GB, free: 8.457 MB / 0.7169 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.01111/0.3811, allocations: 8.881 MB / 0.9084 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/0.3864, allocations: 1.47 MB / 0.9098 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.388, allocations: 0.5998 MB / 0.9104 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004362/0.3924, allocations: 2.875 MB / 0.9132 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/0.3941, allocations: 0.6627 MB / 0.9138 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007646/0.3949, allocations: 175.1 kB / 0.914 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=66): time 3.005e-06/0.3949, allocations: 0 / 0.914 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=66): time 0.004823/0.3997, allocations: 1.683 MB / 0.9157 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.3998, allocations: 141.1 kB / 0.9158 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.4019, allocations: 1.592 MB / 0.9173 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.402, allocations: 53.69 kB / 0.9174 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007759/0.4028, allocations: 0.8846 MB / 0.9183 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.4031, allocations: 248.6 kB / 0.9185 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.4032, allocations: 93.67 kB / 0.9186 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4033, allocations: 345.9 kB / 0.9189 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.405, allocations: 0.5842 MB / 0.9195 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.407, allocations: 1.05 MB / 0.9205 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/0.4103, allocations: 1.543 MB / 0.922 GB, free: 160 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.4103, allocations: 7.938 kB / 0.922 GB, free: 152 kB / 0.7325 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.405/0.8153, allocations: 1.746 MB / 0.9237 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.8156, allocations: 480.3 kB / 0.9242 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.8157, allocations: 13.23 kB / 0.9242 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.931e-05/0.8157, allocations: 19.22 kB / 0.9242 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.8172, allocations: 337.1 kB / 0.9245 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.654e-05/0.8172, allocations: 25.33 kB / 0.9246 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.8192, allocations: 193.4 kB / 0.9248 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.8194, allocations: 64.11 kB / 0.9248 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.8194, allocations: 3.219 kB / 0.9248 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004122/0.8235, allocations: 1.538 MB / 0.9263 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/0.8236, allocations: 21.09 kB / 0.9263 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.8236, allocations: 22.03 kB / 0.9264 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.825, allocations: 328.2 kB / 0.9267 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.015e-05/0.8251, allocations: 29.16 kB / 0.9267 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.8272, allocations: 197.6 kB / 0.9269 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.8273, allocations: 60.81 kB / 0.9269 GB, free: 131.2 MB / 0.7325 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 (132): * Single equations (assignments): 128 * 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.001143/0.8285, allocations: 0.4893 MB / 0.9274 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.8287, allocations: 177.8 kB / 0.9276 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/0.8326, allocations: 1.511 MB / 0.9291 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.8326, allocations: 13.75 kB / 0.9291 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.8326, allocations: 0 / 0.9291 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002883/0.8355, allocations: 1.403 MB / 0.9305 GB, free: 130.4 MB / 0.7325 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.006649/0.8422, allocations: 3.108 MB / 0.9335 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.8422, allocations: 0 / 0.9335 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.8434, allocations: 225.4 kB / 0.9337 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.8434, allocations: 4.703 kB / 0.9337 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.458e-05/0.8435, allocations: 22.86 kB / 0.9337 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.8435, allocations: 7.078 kB / 0.9337 GB, free: 129 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8435, allocations: 2.625 kB / 0.9337 GB, free: 129 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005117/0.8486, allocations: 2.19 MB / 0.9359 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/0.8494, allocations: 375.1 kB / 0.9362 GB, free: 128 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.8496, allocations: 19.09 kB / 0.9363 GB, free: 128 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.851, allocations: 177.5 kB / 0.9364 GB, free: 128 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.8511, allocations: 53.36 kB / 0.9365 GB, free: 128 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.8513, allocations: 33.56 kB / 0.9365 GB, free: 128 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001929/0.8532, allocations: 1.064 MB / 0.9375 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8532, allocations: 0 / 0.9375 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003318/0.8565, allocations: 0.9922 MB / 0.9385 GB, free: 127.4 MB / 0.7325 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.001481/0.858, allocations: 0.5504 MB / 0.9391 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00625/0.8643, allocations: 2.335 MB / 0.9413 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.8643, allocations: 2.5 kB / 0.9413 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.866, allocations: 0.6388 MB / 0.942 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00412/0.8702, allocations: 0.7955 MB / 0.9427 GB, free: 126 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.8806, allocations: 4.63 MB / 0.9473 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009637/0.8816, allocations: 1.372 MB / 0.9486 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00225/0.8838, allocations: 457 kB / 0.949 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/0.8843, allocations: 149.9 kB / 0.9492 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of SimCode: time 7.71e-07/0.8843, allocations: 0 / 0.9492 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.05185/0.9362, allocations: 35.16 MB / 0.9835 GB, free: 96.74 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1) Environment - environmentSimulation: