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.001067/0.001067, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009649/0.000965, allocations: 177.3 kB / 15.94 MB, free: 228 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.971/1.971, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.753/1.753, allocations: 251.9 MB / 0.51 GB, free: 4.793 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.0008205/0.0008208, allocations: 27.38 kB / 0.6241 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7556/0.7565, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.05763/0.8141, allocations: 52.72 MB / 0.7794 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02786/0.842, allocations: 16.92 MB / 0.796 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004934/0.847, allocations: 75.44 kB / 0.796 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005401/0.8525, allocations: 0.999 MB / 0.797 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.8635, allocations: 2.551 MB / 0.7995 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.8742, allocations: 2.919 MB / 0.8024 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008948/0.8831, allocations: 3.015 MB / 0.8053 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002958/0.8861, allocations: 1.33 MB / 0.8066 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005191/0.8913, allocations: 1.541 MB / 0.8081 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.8935, allocations: 0.9721 MB / 0.8091 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.8937, allocations: 72 kB / 0.8091 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004992/0.8987, allocations: 1.463 MB / 0.8106 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006544/0.8994, allocations: 398.4 kB / 0.8109 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000742/0.9001, allocations: 448.6 kB / 0.8114 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004073/0.9042, allocations: 2.689 MB / 0.814 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9042, allocations: 0 / 0.814 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.484e-06/0.9042, allocations: 0 / 0.814 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.705e-05/0.9042, allocations: 0 / 0.814 GB, free: 3.141 MB / 0.6231 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.004771/0.909, allocations: 2.256 MB / 0.8162 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.9091, allocations: 12.03 kB / 0.8162 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.9128, allocations: 0.7739 MB / 0.817 GB, free: 32 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.9163, allocations: 1.716 MB / 0.8186 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000397/0.9167, allocations: 166.5 kB / 0.8188 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.9169, allocations: 132 kB / 0.8189 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/0.9203, allocations: 1.649 MB / 0.8205 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.9203, allocations: 0 / 0.8205 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.9205, allocations: 52 kB / 0.8206 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.9205, allocations: 28 kB / 0.8206 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003715/0.9242, allocations: 1.491 MB / 0.8221 GB, free: 10.62 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.01313/0.9374, allocations: 9.02 MB / 0.8309 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/0.9424, allocations: 1.455 MB / 0.8323 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00588/0.9483, allocations: 3.25 MB / 0.8355 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001648/0.9499, allocations: 0.6471 MB / 0.8361 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009115/0.9509, allocations: 183 kB / 0.8363 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=66): time 3.406e-06/0.9509, allocations: 0 / 0.8363 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66): time 0.004642/0.9555, allocations: 1.656 MB / 0.8379 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.9557, allocations: 141 kB / 0.838 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.9581, allocations: 1.616 MB / 0.8396 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.9582, allocations: 41.7 kB / 0.8396 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008302/0.9591, allocations: 0.9001 MB / 0.8405 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.9593, allocations: 236.7 kB / 0.8407 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.9594, allocations: 20 kB / 0.8408 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9595, allocations: 349.9 kB / 0.8411 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.961, allocations: 0.5452 MB / 0.8416 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.9629, allocations: 1.022 MB / 0.8426 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.9645, allocations: 0.645 MB / 0.8433 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.9645, allocations: 4 kB / 0.8433 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004087/0.9686, allocations: 1.695 MB / 0.8449 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.002283/0.9709, allocations: 5.029 MB / 0.8498 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/0.9709, allocations: 12 kB / 0.8498 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.265e-05/0.971, allocations: 23.98 kB / 0.8499 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.9724, allocations: 331.5 kB / 0.8502 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/0.9724, allocations: 27.92 kB / 0.8502 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.9746, allocations: 196.4 kB / 0.8504 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.9748, allocations: 59.97 kB / 0.8505 GB, free: 11.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.9748, allocations: 4 kB / 0.8505 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004246/0.9791, allocations: 1.516 MB / 0.8519 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.685e-05/0.9791, allocations: 23.98 kB / 0.852 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/0.9792, allocations: 23.95 kB / 0.852 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.9806, allocations: 335.8 kB / 0.8523 GB, free: 9.938 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.056e-05/0.9807, allocations: 23.88 kB / 0.8523 GB, free: 9.914 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.9828, allocations: 200.4 kB / 0.8525 GB, free: 9.719 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.983, allocations: 55.98 kB / 0.8526 GB, free: 9.664 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.001604/0.9846, allocations: 0.4928 MB / 0.8531 GB, free: 9.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007003/0.9854, allocations: 181.8 kB / 0.8532 GB, free: 8.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/0.9898, allocations: 1.503 MB / 0.8547 GB, free: 7.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/0.9898, allocations: 15.89 kB / 0.8547 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.9899, allocations: 0 / 0.8547 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003179/0.993, allocations: 1.383 MB / 0.8561 GB, free: 6.02 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.008242/1.001, allocations: 3.147 MB / 0.8591 GB, free: 2.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.001, allocations: 0 / 0.8591 GB, free: 2.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.002, allocations: 223.8 kB / 0.8593 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.846e-05/1.003, allocations: 4 kB / 0.8594 GB, free: 2.547 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/1.003, allocations: 23.97 kB / 0.8594 GB, free: 2.523 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/1.003, allocations: 7.938 kB / 0.8594 GB, free: 2.516 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.003, allocations: 0 / 0.8594 GB, free: 2.516 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/1.008, allocations: 2.199 MB / 0.8615 GB, free: 280 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.009, allocations: 382.7 kB / 0.8619 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005504/1.01, allocations: 16 kB / 0.8619 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/1.012, allocations: 183.5 kB / 0.8621 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.012, allocations: 52.58 kB / 0.8621 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.012, allocations: 39.97 kB / 0.8622 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002386/1.014, allocations: 1.078 MB / 0.8632 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.41e-07/1.014, allocations: 0 / 0.8632 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004577/1.019, allocations: 0.9902 MB / 0.8642 GB, free: 13.5 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.00184/1.021, allocations: 0.5585 MB / 0.8647 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006343/1.027, allocations: 2.278 MB / 0.867 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/1.027, allocations: 0 / 0.867 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/1.029, allocations: 0.6285 MB / 0.8676 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004471/1.034, allocations: 0.7795 MB / 0.8683 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00901/1.043, allocations: 4.097 MB / 0.8723 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/1.044, allocations: 1.412 MB / 0.8737 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002803/1.047, allocations: 457.5 kB / 0.8742 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/1.048, allocations: 159.4 kB / 0.8743 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of SimCode: time 1.753e-06/1.048, allocations: 0 / 0.8743 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of Templates: time 0.06609/1.114, allocations: 34.79 MB / 0.9083 GB, free: 0.8164 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: