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.0007614/0.0007615, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.004006/0.004006, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.151/1.151, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3/1.3, allocations: 252 MB / 0.5105 GB, free: 4.676 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.0004317/0.0004317, allocations: 20 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3567, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02637/0.3831, allocations: 34.32 MB / 0.7622 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007511/0.3906, allocations: 6.763 MB / 0.7688 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.3915, allocations: 39.69 kB / 0.7689 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.3926, allocations: 397.8 kB / 0.7693 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.3951, allocations: 1.174 MB / 0.7704 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.397, allocations: 0.9349 MB / 0.7713 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002662/0.3997, allocations: 2.867 MB / 0.7741 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007138/0.4004, allocations: 0.6215 MB / 0.7747 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.4016, allocations: 0.8592 MB / 0.7756 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005951/0.4022, allocations: 0.6219 MB / 0.7762 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.4023, allocations: 32 kB / 0.7762 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.4036, allocations: 0.8771 MB / 0.7771 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.4038, allocations: 155.2 kB / 0.7772 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.4041, allocations: 499 kB / 0.7777 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.4055, allocations: 1.604 MB / 0.7792 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.4055, allocations: 4 kB / 0.7792 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4055, allocations: 0 / 0.7792 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.4055, allocations: 0 / 0.7792 GB, free: 7.332 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.001733/0.4072, allocations: 1.191 MB / 0.7804 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.4073, allocations: 8.031 kB / 0.7804 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.4097, allocations: 0.4953 MB / 0.7809 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.4108, allocations: 0.8884 MB / 0.7818 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.4108, allocations: 41.31 kB / 0.7818 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.4109, allocations: 63.94 kB / 0.7819 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.4126, allocations: 0.8709 MB / 0.7827 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4126, allocations: 4 kB / 0.7827 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.4127, allocations: 24 kB / 0.7827 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.4127, allocations: 12 kB / 0.7828 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.4149, allocations: 0.8599 MB / 0.7836 GB, free: 2.734 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.004837/0.4197, allocations: 4.703 MB / 0.7882 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.4234, allocations: 0.9704 MB / 0.7891 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009861/0.4244, allocations: 416.6 kB / 0.7895 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000745/0.4251, allocations: 0.9415 MB / 0.7905 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.4252, allocations: 38.56 kB / 0.7905 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.4252, allocations: 0 / 0.7905 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.003044/0.4282, allocations: 1.146 MB / 0.7916 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.4283, allocations: 63.34 kB / 0.7917 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.429, allocations: 0.7239 MB / 0.7924 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.4291, allocations: 33.7 kB / 0.7924 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.4293, allocations: 444 kB / 0.7928 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.908e-05/0.4294, allocations: 122.2 kB / 0.793 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.4295, allocations: 49.64 kB / 0.793 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.4296, allocations: 322 kB / 0.7933 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009772/0.4306, allocations: 364.9 kB / 0.7937 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.4317, allocations: 0.5503 MB / 0.7942 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.4336, allocations: 0.8117 MB / 0.795 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4336, allocations: 4 kB / 0.795 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002267/0.4359, allocations: 0.9375 MB / 0.7959 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.436, allocations: 232.2 kB / 0.7961 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.436, allocations: 4 kB / 0.7961 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.436, allocations: 8 kB / 0.7961 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008705/0.4369, allocations: 211.8 kB / 0.7963 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.4369, allocations: 7.938 kB / 0.7963 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008665/0.4378, allocations: 165.8 kB / 0.7965 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.4379, allocations: 27.98 kB / 0.7965 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-06/0.4379, allocations: 4 kB / 0.7965 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002117/0.44, allocations: 0.8308 MB / 0.7973 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.44, allocations: 4 kB / 0.7973 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/0.44, allocations: 4 kB / 0.7974 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/0.4409, allocations: 220.2 kB / 0.7976 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4409, allocations: 15.92 kB / 0.7976 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008183/0.4417, allocations: 163.5 kB / 0.7977 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.4418, allocations: 27.98 kB / 0.7978 GB, free: 3.348 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.000303/0.4421, allocations: 308.9 kB / 0.7981 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.4422, allocations: 79.06 kB / 0.7981 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.4447, allocations: 1.017 MB / 0.7991 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.4447, allocations: 7.938 kB / 0.7991 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4448, allocations: 0 / 0.7991 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4448, allocations: 3.984 kB / 0.7991 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.4483, allocations: 1.914 MB / 0.801 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4483, allocations: 96 / 0.801 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007931/0.4491, allocations: 187.7 kB / 0.8012 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4491, allocations: 4 kB / 0.8012 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.4492, allocations: 11.98 kB / 0.8012 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4492, allocations: 4 kB / 0.8012 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4492, allocations: 0 / 0.8012 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/0.4526, allocations: 1.506 MB / 0.8027 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.4528, allocations: 243.8 kB / 0.8029 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/0.4529, allocations: 12 kB / 0.8029 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/0.4537, allocations: 119.9 kB / 0.803 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.4538, allocations: 35.94 kB / 0.8031 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.4538, allocations: 11.98 kB / 0.8031 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005337/0.4543, allocations: 0.499 MB / 0.8036 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4544, allocations: 0 / 0.8036 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00103/0.4554, allocations: 435.1 kB / 0.804 GB, free: 12.85 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.0005603/0.456, allocations: 318 kB / 0.8043 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003284/0.4593, allocations: 1.288 MB / 0.8055 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4593, allocations: 4 kB / 0.8055 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.4604, allocations: 448.4 kB / 0.806 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.462, allocations: 355.8 kB / 0.8063 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/0.4679, allocations: 2.436 MB / 0.8087 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.4684, allocations: 0.9663 MB / 0.8096 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008073/0.4692, allocations: 220.6 kB / 0.8098 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.4694, allocations: 75.39 kB / 0.8099 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.4694, allocations: 0 / 0.8099 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of Templates: time 0.02154/0.4909, allocations: 15.48 MB / 0.825 GB, free: 7.492 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: