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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008754/0.0008757, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009363/0.0009364, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 222.1 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 252 MB / 0.5102 GB, free: 4.75 MB / 414.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.0006106/0.0006107, allocations: 12 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.546, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.0532/0.5993, allocations: 57.91 MB / 0.7847 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02522/0.6245, allocations: 18.01 MB / 0.8023 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003485/0.628, allocations: 83.44 kB / 0.8023 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.6314, allocations: 0.8269 MB / 0.8032 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007239/0.6387, allocations: 2.168 MB / 0.8053 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0079/0.6466, allocations: 2.69 MB / 0.8079 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007485/0.6541, allocations: 5.709 MB / 0.8135 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.6565, allocations: 1.322 MB / 0.8148 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004061/0.6606, allocations: 1.707 MB / 0.8164 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003516/0.6641, allocations: 1.357 MB / 0.8178 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004549/0.6646, allocations: 76 kB / 0.8178 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005196/0.6698, allocations: 1.575 MB / 0.8194 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.6708, allocations: 422.3 kB / 0.8198 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.6722, allocations: 448.6 kB / 0.8202 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00612/0.6784, allocations: 2.755 MB / 0.8229 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.6784, allocations: 3.938 kB / 0.8229 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6784, allocations: 0 / 0.8229 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001283/0.6786, allocations: 0 / 0.8229 GB, free: 10.07 MB / 0.6387 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.007616/0.6862, allocations: 2.28 MB / 0.8251 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.6863, allocations: 8.031 kB / 0.8251 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005082/0.6913, allocations: 0.7661 MB / 0.8259 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00567/0.697, allocations: 1.769 MB / 0.8276 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005313/0.6976, allocations: 162.5 kB / 0.8278 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005197/0.6981, allocations: 132 kB / 0.8279 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00533/0.7035, allocations: 1.661 MB / 0.8295 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.914e-05/0.7036, allocations: 4 kB / 0.8295 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.7038, allocations: 55.98 kB / 0.8296 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.7039, allocations: 32 kB / 0.8296 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005452/0.7093, allocations: 1.495 MB / 0.8311 GB, free: 1.48 MB / 0.6387 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.01755/0.7269, allocations: 8.858 MB / 0.8397 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006458/0.7334, allocations: 1.478 MB / 0.8411 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.7356, allocations: 0.6037 MB / 0.8417 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006798/0.7425, allocations: 2.871 MB / 0.8445 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002246/0.7447, allocations: 0.6472 MB / 0.8452 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001164/0.7459, allocations: 175.1 kB / 0.8453 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=66): time 3.737e-06/0.746, allocations: 0 / 0.8453 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66): time 0.006135/0.7521, allocations: 1.68 MB / 0.847 GB, free: 248 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.7523, allocations: 141 kB / 0.8471 GB, free: 76 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003253/0.7556, allocations: 1.58 MB / 0.8487 GB, free: 14.45 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.7557, allocations: 41.7 kB / 0.8487 GB, free: 14.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.7569, allocations: 0.8963 MB / 0.8496 GB, free: 13.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.7573, allocations: 236.6 kB / 0.8498 GB, free: 13.26 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.7574, allocations: 20 kB / 0.8498 GB, free: 13.24 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002476/0.7576, allocations: 357.9 kB / 0.8502 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.7596, allocations: 0.553 MB / 0.8507 GB, free: 12.33 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00262/0.7623, allocations: 1.038 MB / 0.8517 GB, free: 11.08 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/0.7645, allocations: 0.645 MB / 0.8523 GB, free: 10.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.7645, allocations: 4 kB / 0.8523 GB, free: 10.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005576/0.7701, allocations: 1.703 MB / 0.854 GB, free: 8.707 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005394/0.7707, allocations: 488.1 kB / 0.8545 GB, free: 8.047 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.925e-05/0.7707, allocations: 12 kB / 0.8545 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-05/0.7708, allocations: 31.92 kB / 0.8545 GB, free: 8.004 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.7727, allocations: 323.5 kB / 0.8548 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.099e-05/0.7727, allocations: 27.94 kB / 0.8549 GB, free: 7.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.7751, allocations: 200.4 kB / 0.855 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.7753, allocations: 59.98 kB / 0.8551 GB, free: 7.406 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7753, allocations: 7.938 kB / 0.8551 GB, free: 7.398 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004861/0.7802, allocations: 1.532 MB / 0.8566 GB, free: 5.859 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.749e-05/0.7803, allocations: 12 kB / 0.8566 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.7803, allocations: 20 kB / 0.8566 GB, free: 5.828 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.7818, allocations: 332 kB / 0.857 GB, free: 5.504 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.329e-05/0.7818, allocations: 27.92 kB / 0.857 GB, free: 5.477 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.7836, allocations: 192.5 kB / 0.8572 GB, free: 5.289 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.7838, allocations: 67.95 kB / 0.8572 GB, free: 5.223 MB / 0.67 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.001001/0.7848, allocations: 0.489 MB / 0.8577 GB, free: 4.723 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004131/0.7852, allocations: 181.7 kB / 0.8579 GB, free: 4.543 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/0.7891, allocations: 1.514 MB / 0.8594 GB, free: 3.031 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.7892, allocations: 12 kB / 0.8594 GB, free: 3.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.7892, allocations: 0 / 0.8594 GB, free: 3.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002817/0.792, allocations: 1.391 MB / 0.8607 GB, free: 1.566 MB / 0.67 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.007098/0.7991, allocations: 3.105 MB / 0.8638 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7991, allocations: 0 / 0.8638 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.8002, allocations: 219.8 kB / 0.864 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.8002, allocations: 4 kB / 0.864 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-05/0.8003, allocations: 31.97 kB / 0.864 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.8003, allocations: 3.938 kB / 0.864 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.8004, allocations: 7.953 kB / 0.864 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004808/0.8052, allocations: 2.175 MB / 0.8661 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000884/0.8061, allocations: 382.4 kB / 0.8665 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/0.8065, allocations: 20 kB / 0.8665 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.8079, allocations: 167.8 kB / 0.8667 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.8081, allocations: 60.52 kB / 0.8667 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.864e-05/0.8082, allocations: 35.97 kB / 0.8668 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001919/0.8101, allocations: 1.051 MB / 0.8678 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8101, allocations: 0 / 0.8678 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003548/0.8137, allocations: 0.9784 MB / 0.8688 GB, free: 9.176 MB / 0.6856 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.001434/0.8151, allocations: 0.5307 MB / 0.8693 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005434/0.8205, allocations: 2.289 MB / 0.8715 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.8206, allocations: 1.5 kB / 0.8715 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.8221, allocations: 0.644 MB / 0.8721 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004318/0.8264, allocations: 0.7771 MB / 0.8729 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.8401, allocations: 4.575 MB / 0.8774 GB, free: 300 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.842, allocations: 1.369 MB / 0.8787 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002847/0.8448, allocations: 445.8 kB / 0.8791 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006354/0.8455, allocations: 151.4 kB / 0.8793 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of SimCode: time 8.52e-07/0.8455, allocations: 0 / 0.8793 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of Templates: time 0.5178/1.363, allocations: 34.05 MB / 0.9125 GB, free: 170.4 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: