Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.19/2.19, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001344/0.001343, allocations: 179.7 kB / 326.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.378/2.378, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009369/0.000937, allocations: 88.72 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006312/0.0006315, allocations: 8.875 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2094, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.06732/0.2768, allocations: 57.91 MB / 0.9561 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03605/0.3129, allocations: 18.01 MB / 0.9736 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00353/0.3165, allocations: 83.44 kB / 0.9737 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004593/0.3211, allocations: 0.8269 MB / 0.9745 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009798/0.331, allocations: 2.165 MB / 0.9766 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01236/0.3434, allocations: 2.69 MB / 0.9793 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.3551, allocations: 5.754 MB / 0.9849 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003704/0.3588, allocations: 1.4 MB / 0.9863 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005835/0.3647, allocations: 1.711 MB / 0.9879 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003922/0.3687, allocations: 1.361 MB / 0.9893 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006484/0.3694, allocations: 76 kB / 0.9893 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005933/0.3754, allocations: 1.575 MB / 0.9909 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.3767, allocations: 422.2 kB / 0.9913 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.3778, allocations: 448.6 kB / 0.9917 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006472/0.3843, allocations: 2.755 MB / 0.9944 GB, free: 156 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.3844, allocations: 4 kB / 0.9944 GB, free: 152 kB / 0.6355 GB Notification: Performance of FrontEnd: time 3.457e-06/0.3844, allocations: 0 / 0.9944 GB, free: 152 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.496e-05/0.3845, allocations: 0 / 0.9944 GB, free: 152 kB / 0.6355 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.007729/0.3922, allocations: 2.282 MB / 0.9966 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.3923, allocations: 11.97 kB / 0.9966 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007185/0.3995, allocations: 0.7742 MB / 0.9974 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005852/0.4054, allocations: 1.739 MB / 0.9991 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007233/0.4062, allocations: 170.5 kB / 0.9992 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004042/0.4066, allocations: 132 kB / 0.9994 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005991/0.4126, allocations: 1.665 MB / 1.001 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.896e-05/0.4127, allocations: 7.938 kB / 1.001 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/0.413, allocations: 55.92 kB / 1.001 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-05/0.413, allocations: 39.98 kB / 1.001 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007559/0.4206, allocations: 1.495 MB / 1.003 GB, free: 7.543 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.02101/0.4417, allocations: 8.862 MB / 1.011 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00963/0.4514, allocations: 1.475 MB / 1.013 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003169/0.4546, allocations: 0.5957 MB / 1.013 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008212/0.4628, allocations: 2.859 MB / 1.016 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003266/0.4662, allocations: 0.6588 MB / 1.017 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001357/0.4676, allocations: 175.1 kB / 1.017 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=66): time 7.284e-06/0.4676, allocations: 0 / 1.017 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66): time 0.00948/0.4771, allocations: 1.676 MB / 1.018 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.4773, allocations: 141 kB / 1.019 GB, free: 6.137 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003949/0.4812, allocations: 1.588 MB / 1.02 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002967/0.4816, allocations: 41.7 kB / 1.02 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.4829, allocations: 0.8963 MB / 1.021 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004726/0.4834, allocations: 240.5 kB / 1.021 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.4836, allocations: 20 kB / 1.021 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.4838, allocations: 345.9 kB / 1.022 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/0.4869, allocations: 0.5608 MB / 1.022 GB, free: 2.387 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0037/0.4906, allocations: 1.026 MB / 1.023 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003257/0.4939, allocations: 0.6566 MB / 1.024 GB, free: 496 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/0.494, allocations: 4 kB / 1.024 GB, free: 492 kB / 0.6667 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008007/0.502, allocations: 1.699 MB / 1.026 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005028/0.5026, allocations: 491.8 kB / 1.026 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.242e-05/0.5026, allocations: 19.94 kB / 1.026 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-05/0.5027, allocations: 16 kB / 1.026 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/0.5056, allocations: 339.4 kB / 1.026 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.056e-05/0.5057, allocations: 19.94 kB / 1.026 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/0.509, allocations: 196.4 kB / 1.027 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.5093, allocations: 63.97 kB / 1.027 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5094, allocations: 4 kB / 1.027 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007198/0.5166, allocations: 1.532 MB / 1.028 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-05/0.5167, allocations: 12 kB / 1.028 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/0.5167, allocations: 20 kB / 1.028 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/0.5195, allocations: 327.6 kB / 1.028 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.403e-05/0.5196, allocations: 27.88 kB / 1.028 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/0.5228, allocations: 196.4 kB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/0.5232, allocations: 55.98 kB / 1.029 GB, free: 11.3 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.001385/0.5246, allocations: 0.489 MB / 1.029 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000549/0.5251, allocations: 181.7 kB / 1.029 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007243/0.5324, allocations: 1.518 MB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006009/0.5384, allocations: 1.394 MB / 1.032 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.5385, allocations: 3.938 kB / 1.032 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.5398, allocations: 378.6 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004736/0.5403, allocations: 12 kB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/0.543, allocations: 175.7 kB / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.5433, allocations: 60.58 kB / 1.033 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00817/0.5514, allocations: 1.468 MB / 1.034 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0101/0.5616, allocations: 2.267 MB / 1.036 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00299/0.5646, allocations: 0.6144 MB / 1.037 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002683/0.5674, allocations: 1.051 MB / 1.038 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of Backend: time 9.21e-07/0.5674, allocations: 0 / 1.038 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01084/0.5783, allocations: 2.419 MB / 1.04 GB, free: 15.11 MB / 0.698 GB Notification: Performance of SimCode: time 0.01351/0.5919, allocations: 4.751 MB / 1.045 GB, free: 10.3 MB / 0.698 GB Notification: Performance of Templates: time 0.7831/1.375, allocations: 41.32 MB / 1.085 GB, free: 135.8 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)