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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009014/0.0009015, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0008766/0.0008766, allocations: 192.6 kB / 16.14 MB, free: 6.703 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.122/1.122, allocations: 205.1 MB / 222 MB, free: 4.77 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.299/1.299, allocations: 251.7 MB / 0.5088 GB, free: 3.238 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.001183/0.001183, allocations: 63.91 kB / 0.6216 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3371, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02673/0.3638, allocations: 35.1 MB / 0.7581 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007339/0.3712, allocations: 6.851 MB / 0.7648 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005285/0.3718, allocations: 43.69 kB / 0.7648 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000847/0.3726, allocations: 393.8 kB / 0.7652 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.3745, allocations: 1.17 MB / 0.7663 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.3761, allocations: 0.9415 MB / 0.7672 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002114/0.3782, allocations: 2.871 MB / 0.7701 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006642/0.3789, allocations: 0.6388 MB / 0.7707 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.38, allocations: 0.8826 MB / 0.7715 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005557/0.3806, allocations: 0.6571 MB / 0.7722 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.814e-05/0.3807, allocations: 44 kB / 0.7722 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.3819, allocations: 0.8849 MB / 0.7731 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.3821, allocations: 167.2 kB / 0.7732 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.3824, allocations: 493.3 kB / 0.7737 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.3838, allocations: 1.64 MB / 0.7753 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3838, allocations: 0 / 0.7753 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.12e-07/0.3839, allocations: 3.938 kB / 0.7753 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.3839, allocations: 4 kB / 0.7753 GB, free: 8.172 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001892/0.3858, allocations: 1.351 MB / 0.7766 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.3858, allocations: 8.031 kB / 0.7767 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.3882, allocations: 439.1 kB / 0.7771 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.3893, allocations: 0.8808 MB / 0.7779 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.3893, allocations: 45.31 kB / 0.778 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.834e-05/0.3894, allocations: 60 kB / 0.778 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.391, allocations: 0.8279 MB / 0.7788 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.391, allocations: 8 kB / 0.7788 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.3911, allocations: 20 kB / 0.7789 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.3911, allocations: 16 kB / 0.7789 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.3931, allocations: 0.7739 MB / 0.7796 GB, free: 3.613 MB / 0.5919 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.00486/0.398, allocations: 4.656 MB / 0.7842 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/0.4014, allocations: 0.8338 MB / 0.785 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009024/0.4023, allocations: 360.6 kB / 0.7853 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007407/0.4031, allocations: 0.9336 MB / 0.7863 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.4031, allocations: 42.56 kB / 0.7863 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.4031, allocations: 0 / 0.7863 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.002883/0.406, allocations: 1.017 MB / 0.7873 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.4061, allocations: 55.41 kB / 0.7873 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00073/0.4068, allocations: 0.7278 MB / 0.7881 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.4068, allocations: 37.64 kB / 0.7881 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.4071, allocations: 455.8 kB / 0.7885 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.015e-05/0.4072, allocations: 122.3 kB / 0.7886 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.4074, allocations: 110.1 kB / 0.7887 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.4075, allocations: 318 kB / 0.789 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009213/0.4084, allocations: 334.8 kB / 0.7894 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.4095, allocations: 0.4996 MB / 0.7899 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.4113, allocations: 0.7374 MB / 0.7906 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4113, allocations: 4 kB / 0.7906 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002096/0.4134, allocations: 0.8511 MB / 0.7914 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4134, allocations: 4 kB / 0.7914 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4134, allocations: 8.5 kB / 0.7914 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4134, allocations: 8 kB / 0.7914 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008358/0.4143, allocations: 183.7 kB / 0.7916 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.4143, allocations: 15.98 kB / 0.7916 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008069/0.4151, allocations: 135.4 kB / 0.7917 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.4152, allocations: 27.98 kB / 0.7918 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001074/0.4162, allocations: 0.501 MB / 0.7923 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001004/0.4173, allocations: 0.4996 MB / 0.7928 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001718/0.419, allocations: 0.7298 MB / 0.7935 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/0.419, allocations: 4 kB / 0.7935 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002029/0.421, allocations: 0.8512 MB / 0.7943 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.421, allocations: 13.81 kB / 0.7943 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4211, allocations: 4 kB / 0.7943 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.034e-06/0.4211, allocations: 11.94 kB / 0.7943 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008302/0.4219, allocations: 183.7 kB / 0.7945 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4219, allocations: 8 kB / 0.7945 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008243/0.4227, allocations: 143.5 kB / 0.7946 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.4228, allocations: 23.98 kB / 0.7947 GB, free: 3.242 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001424/0.423, allocations: 208.1 kB / 0.7949 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.4231, allocations: 82.91 kB / 0.7949 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.4254, allocations: 0.9341 MB / 0.7959 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.4254, allocations: 4 kB / 0.7959 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4254, allocations: 0 / 0.7959 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4255, allocations: 7.984 kB / 0.7959 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.4288, allocations: 1.816 MB / 0.7976 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.4288, allocations: 4 kB / 0.7976 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.4295, allocations: 147.9 kB / 0.7978 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4296, allocations: 0 / 0.7978 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.4296, allocations: 23.98 kB / 0.7978 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4296, allocations: 0 / 0.7978 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4296, allocations: 4.188 kB / 0.7978 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.4326, allocations: 1.381 MB / 0.7992 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.4329, allocations: 239.8 kB / 0.7994 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.433, allocations: 8 kB / 0.7994 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/0.4337, allocations: 99.88 kB / 0.7995 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.4338, allocations: 39.94 kB / 0.7995 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.4338, allocations: 15.98 kB / 0.7995 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005189/0.4343, allocations: 0.5068 MB / 0.8 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4344, allocations: 0 / 0.8 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001013/0.4354, allocations: 427.1 kB / 0.8005 GB, free: 13.2 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.000519/0.4359, allocations: 325.9 kB / 0.8008 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.4388, allocations: 1.166 MB / 0.8019 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4388, allocations: 0 / 0.8019 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009834/0.4398, allocations: 405.7 kB / 0.8023 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.4413, allocations: 352.5 kB / 0.8026 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.4468, allocations: 2.226 MB / 0.8048 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.4472, allocations: 0.9663 MB / 0.8057 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008442/0.4481, allocations: 207.3 kB / 0.8059 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.4483, allocations: 83.39 kB / 0.806 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.4483, allocations: 0 / 0.806 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of Templates: time 0.02076/0.469, allocations: 15.56 MB / 0.8212 GB, free: 8.137 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)