Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 100.6 kB / 16.27 MB, free: 6.418 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.001868/0.001868, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.437/1.437, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 292.3 MB / 0.5495 GB, free: 17.53 MB / 462.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.002271/0.002271, allocations: 67.89 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2409, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.4648/0.7057, allocations: 57.23 MB / 0.8399 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02628/0.732, allocations: 17.38 MB / 0.8569 GB, free: 15.92 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004301/0.7364, allocations: 66.22 kB / 0.857 GB, free: 15.89 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00414/0.7405, allocations: 1.059 MB / 0.858 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008379/0.749, allocations: 2.21 MB / 0.8601 GB, free: 14 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006933/0.756, allocations: 1.935 MB / 0.862 GB, free: 13 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008022/0.764, allocations: 3.953 MB / 0.8659 GB, free: 11.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/0.767, allocations: 1.431 MB / 0.8673 GB, free: 10.41 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005085/0.7721, allocations: 1.633 MB / 0.8689 GB, free: 9.621 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/0.7749, allocations: 1.108 MB / 0.87 GB, free: 9.09 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004193/0.7753, allocations: 169.6 kB / 0.8701 GB, free: 9.09 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004437/0.7797, allocations: 1.511 MB / 0.8716 GB, free: 8.391 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00063/0.7804, allocations: 461.4 kB / 0.872 GB, free: 8.039 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.7819, allocations: 0.8975 MB / 0.8729 GB, free: 7.406 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006372/0.7883, allocations: 3.084 MB / 0.8759 GB, free: 5.281 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.7884, allocations: 2.062 kB / 0.8759 GB, free: 5.281 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7884, allocations: 0 / 0.8759 GB, free: 5.281 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.278e-05/0.7884, allocations: 0 / 0.8759 GB, free: 5.281 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.005057/0.7935, allocations: 2.124 MB / 0.878 GB, free: 3.652 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.7936, allocations: 9.875 kB / 0.878 GB, free: 3.652 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.7955, allocations: 364.3 kB / 0.8784 GB, free: 3.484 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/0.7988, allocations: 1.51 MB / 0.8798 GB, free: 2.285 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000666/0.7995, allocations: 179.9 kB / 0.88 GB, free: 2.215 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.7996, allocations: 86.69 kB / 0.8801 GB, free: 2.188 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.8022, allocations: 1.119 MB / 0.8812 GB, free: 1.457 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.8022, allocations: 2.406 kB / 0.8812 GB, free: 1.457 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/0.8023, allocations: 32.84 kB / 0.8812 GB, free: 1.434 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.8023, allocations: 26.44 kB / 0.8812 GB, free: 1.43 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002753/0.8051, allocations: 0.8992 MB / 0.8821 GB, free: 0.9922 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 preOpt removeSimpleEquations (simulation): time 0.008574/0.8137, allocations: 5.336 MB / 0.8873 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.8159, allocations: 0.6604 MB / 0.888 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000985/0.8169, allocations: 352.7 kB / 0.8883 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003013/0.8199, allocations: 1.796 MB / 0.8901 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.8212, allocations: 466.9 kB / 0.8905 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.746e-06/0.8212, allocations: 0 / 0.8905 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.003524/0.8247, allocations: 1.102 MB / 0.8916 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.8248, allocations: 82.98 kB / 0.8917 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.8271, allocations: 1.346 MB / 0.893 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.996e-05/0.8272, allocations: 38.27 kB / 0.893 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006793/0.8279, allocations: 0.6624 MB / 0.8937 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.8281, allocations: 145.2 kB / 0.8938 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.8283, allocations: 166.6 kB / 0.894 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8285, allocations: 333.4 kB / 0.8943 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.8295, allocations: 369.9 kB / 0.8946 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.8308, allocations: 0.6384 MB / 0.8953 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.8329, allocations: 0.9867 MB / 0.8962 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.833, allocations: 1.875 kB / 0.8962 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003026/0.836, allocations: 1.156 MB / 0.8974 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.8361, allocations: 36.7 kB / 0.8974 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.8361, allocations: 10.91 kB / 0.8974 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/0.8361, allocations: 11 kB / 0.8974 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/0.8369, allocations: 193.2 kB / 0.8976 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/0.837, allocations: 14.94 kB / 0.8976 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.8383, allocations: 140 kB / 0.8977 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/0.8384, allocations: 46.44 kB / 0.8978 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00158/0.84, allocations: 0.6339 MB / 0.8984 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001105/0.8411, allocations: 0.5968 MB / 0.899 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001814/0.843, allocations: 0.9089 MB / 0.8999 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.843, allocations: 0 / 0.8999 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002591/0.8456, allocations: 1.07 MB / 0.9009 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.8456, allocations: 49.62 kB / 0.901 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.8457, allocations: 8 kB / 0.901 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.8457, allocations: 12 kB / 0.901 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.8464, allocations: 183.7 kB / 0.9012 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.8464, allocations: 15.88 kB / 0.9012 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.8476, allocations: 104.2 kB / 0.9013 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.8477, allocations: 39.98 kB / 0.9013 GB, free: 1.621 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 7 (QHea.nextEventScaled,QHea.nextEvent,$PRE.QHea.nextEvent,QHea.last,QHea.b,QHea.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 1 * 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.000365/0.848, allocations: 257.7 kB / 0.9016 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.8483, allocations: 146.2 kB / 0.9017 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.851, allocations: 1.019 MB / 0.9027 GB, free: 196 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.851, allocations: 8 kB / 0.9027 GB, free: 188 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.851, allocations: 2.562 kB / 0.9027 GB, free: 188 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.851, allocations: 3.984 kB / 0.9027 GB, free: 184 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/0.8552, allocations: 2.162 MB / 0.9048 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.8553, allocations: 0 / 0.9048 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.8559, allocations: 124 kB / 0.9049 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.8559, allocations: 4 kB / 0.9049 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.8559, allocations: 15.98 kB / 0.905 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-05/0.856, allocations: 7.984 kB / 0.905 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.856, allocations: 3.938 kB / 0.905 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.8585, allocations: 1.053 MB / 0.906 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006189/0.8591, allocations: 315.1 kB / 0.9063 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.8593, allocations: 15.94 kB / 0.9063 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008526/0.8601, allocations: 71.92 kB / 0.9064 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.8603, allocations: 43.81 kB / 0.9064 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.8603, allocations: 23.98 kB / 0.9064 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001374/0.8617, allocations: 0.9305 MB / 0.9074 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8617, allocations: 0 / 0.9074 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00231/0.864, allocations: 0.6939 MB / 0.908 GB, free: 10.59 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.001152/0.8652, allocations: 480.4 kB / 0.9085 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003797/0.869, allocations: 1.478 MB / 0.9099 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.869, allocations: 0 / 0.9099 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.8701, allocations: 472.9 kB / 0.9104 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/0.8732, allocations: 0.6587 MB / 0.911 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.8777, allocations: 2.352 MB / 0.9133 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/0.8785, allocations: 1.202 MB / 0.9145 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.8788, allocations: 115.4 kB / 0.9146 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of SimCode: time 1.061e-06/0.8788, allocations: 0 / 0.9146 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of Templates: time 0.04062/0.9195, allocations: 25.34 MB / 0.9394 GB, free: 10.79 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)