Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.622/1.622, allocations: 288.4 MB / 303.7 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009586/0.0009587, allocations: 176.5 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 0.631 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009535/0.0009534, allocations: 101 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004008, allocations: 11.91 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1992, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.0483/0.2475, allocations: 57.91 MB / 1.037 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02555/0.2731, allocations: 18.04 MB / 1.054 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.2762, allocations: 83.44 kB / 1.054 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003186/0.2794, allocations: 0.9049 MB / 1.055 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007029/0.2865, allocations: 2.295 MB / 1.058 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00833/0.2948, allocations: 2.74 MB / 1.06 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008526/0.3034, allocations: 5.766 MB / 1.066 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003546/0.3069, allocations: 1.427 MB / 1.067 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004998/0.312, allocations: 1.809 MB / 1.069 GB, free: 104 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4697/0.7817, allocations: 1.34 MB / 1.07 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006652/0.7824, allocations: 75.47 kB / 1.07 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00568/0.7881, allocations: 1.9 MB / 1.072 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009022/0.789, allocations: 424.1 kB / 1.073 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.7911, allocations: 0.99 MB / 1.074 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005481/0.7966, allocations: 2.85 MB / 1.076 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7966, allocations: 0.9688 kB / 1.076 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.093e-06/0.7966, allocations: 0.7031 kB / 1.076 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.004e-05/0.7967, allocations: 0 / 1.076 GB, free: 15.29 MB / 0.6823 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.006481/0.8032, allocations: 2.253 MB / 1.079 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.8033, allocations: 10.33 kB / 1.079 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004236/0.8075, allocations: 0.7697 MB / 1.079 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/0.8118, allocations: 1.826 MB / 1.081 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004385/0.8123, allocations: 166.1 kB / 1.081 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.8126, allocations: 131.6 kB / 1.081 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003949/0.8166, allocations: 1.671 MB / 1.083 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.8166, allocations: 4.531 kB / 1.083 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.8168, allocations: 54.56 kB / 1.083 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.814e-05/0.8168, allocations: 30.12 kB / 1.083 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00412/0.8209, allocations: 1.498 MB / 1.085 GB, free: 13.04 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 preOpt removeSimpleEquations (simulation): time 0.01284/0.8338, allocations: 8.855 MB / 1.093 GB, free: 23.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/0.839, allocations: 1.484 MB / 1.095 GB, free: 23.83 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.8406, allocations: 0.6023 MB / 1.095 GB, free: 23.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006098/0.8468, allocations: 2.869 MB / 1.098 GB, free: 22.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001721/0.8485, allocations: 0.6581 MB / 1.099 GB, free: 22.17 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00102/0.8495, allocations: 179.1 kB / 1.099 GB, free: 22.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 2.535e-06/0.8496, allocations: 0 / 1.099 GB, free: 22.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.004826/0.8544, allocations: 1.681 MB / 1.101 GB, free: 21.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.8545, allocations: 139.3 kB / 1.101 GB, free: 21.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.8569, allocations: 1.575 MB / 1.102 GB, free: 21.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.857, allocations: 44.2 kB / 1.102 GB, free: 21.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007736/0.8578, allocations: 0.8958 MB / 1.103 GB, free: 21.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.8581, allocations: 247.7 kB / 1.103 GB, free: 21.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.8582, allocations: 18.06 kB / 1.103 GB, free: 21.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.8583, allocations: 350 kB / 1.104 GB, free: 20.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.8599, allocations: 0.5629 MB / 1.104 GB, free: 20.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.8618, allocations: 1.034 MB / 1.105 GB, free: 20.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/0.865, allocations: 1.503 MB / 1.107 GB, free: 19.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.865, allocations: 3.281 kB / 1.107 GB, free: 19.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004136/0.8692, allocations: 1.714 MB / 1.108 GB, free: 19.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002673/0.8695, allocations: 483.3 kB / 1.109 GB, free: 18.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.8695, allocations: 12.81 kB / 1.109 GB, free: 18.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/0.8695, allocations: 21.03 kB / 1.109 GB, free: 18.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.8709, allocations: 334.3 kB / 1.109 GB, free: 18.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.8709, allocations: 24.19 kB / 1.109 GB, free: 18.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/0.8731, allocations: 204.2 kB / 1.109 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.8732, allocations: 63.34 kB / 1.109 GB, free: 18.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.8732, allocations: 2.969 kB / 1.109 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003293/0.8765, allocations: 1.532 MB / 1.111 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.8766, allocations: 15.62 kB / 1.111 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.8766, allocations: 20.2 kB / 1.111 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.8778, allocations: 330.1 kB / 1.111 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.8779, allocations: 27.73 kB / 1.111 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.8798, allocations: 196.2 kB / 1.112 GB, free: 18.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.8799, allocations: 58.39 kB / 1.112 GB, free: 18.73 MB / 0.698 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 (132): * Single equations (assignments): 128 * 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.001058/0.881, allocations: 0.4936 MB / 1.112 GB, free: 18.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.8812, allocations: 186.6 kB / 1.112 GB, free: 18.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/0.8848, allocations: 1.506 MB / 1.114 GB, free: 18.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.8849, allocations: 10.11 kB / 1.114 GB, free: 18.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8849, allocations: 4 kB / 1.114 GB, free: 18.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003027/0.8879, allocations: 1.389 MB / 1.115 GB, free: 17.95 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.007667/0.8956, allocations: 3.118 MB / 1.118 GB, free: 17.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.8956, allocations: 5.531 kB / 1.118 GB, free: 17.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.8968, allocations: 221.8 kB / 1.118 GB, free: 17.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.8969, allocations: 3.562 kB / 1.118 GB, free: 17.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/0.8969, allocations: 33.61 kB / 1.118 GB, free: 17.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.897, allocations: 2.125 kB / 1.118 GB, free: 17.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.897, allocations: 7.078 kB / 1.118 GB, free: 17.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005449/0.9024, allocations: 2.179 MB / 1.121 GB, free: 17.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.9036, allocations: 379.3 kB / 1.121 GB, free: 16.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.9039, allocations: 21.16 kB / 1.121 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.9052, allocations: 177.2 kB / 1.121 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.9054, allocations: 60.48 kB / 1.121 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/0.9055, allocations: 29.19 kB / 1.121 GB, free: 16.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002004/0.9075, allocations: 1.05 MB / 1.122 GB, free: 16.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9075, allocations: 4 kB / 1.122 GB, free: 16.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004308/0.9118, allocations: 0.984 MB / 1.123 GB, free: 16.66 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.001565/0.9134, allocations: 0.5467 MB / 1.124 GB, free: 16.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005738/0.9191, allocations: 2.31 MB / 1.126 GB, free: 16.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.9192, allocations: 1 kB / 1.126 GB, free: 16.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.9207, allocations: 0.6336 MB / 1.127 GB, free: 16.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004388/0.9251, allocations: 0.7778 MB / 1.127 GB, free: 16.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.9353, allocations: 4.566 MB / 1.132 GB, free: 14.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008949/0.9362, allocations: 1.374 MB / 1.133 GB, free: 13.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002549/0.9388, allocations: 442.8 kB / 1.134 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/0.9392, allocations: 158.9 kB / 1.134 GB, free: 12.81 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/0.9392, allocations: 4 kB / 1.134 GB, free: 12.81 MB / 0.698 GB Notification: Performance of Templates: time 0.05691/0.9961, allocations: 34.78 MB / 1.168 GB, free: 3.801 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)