Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.756/1.756, allocations: 288.4 MB / 303.4 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009632/0.0009633, allocations: 190.1 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008147/0.0008145, allocations: 90.92 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004252, allocations: 15.53 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2316, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.04472/0.2764, allocations: 52.75 MB / 1.031 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02492/0.3014, allocations: 16.37 MB / 1.047 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.3046, allocations: 59.62 kB / 1.047 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003193/0.3078, allocations: 0.6834 MB / 1.048 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006696/0.3145, allocations: 1.7 MB / 1.049 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005429/0.32, allocations: 1.386 MB / 1.051 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007568/0.3276, allocations: 4.306 MB / 1.055 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.3306, allocations: 1.006 MB / 1.056 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003903/0.3345, allocations: 1.252 MB / 1.057 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.337, allocations: 0.9838 MB / 1.058 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005699/0.3376, allocations: 52 kB / 1.058 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/0.3415, allocations: 1.057 MB / 1.059 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007992/0.3423, allocations: 322.6 kB / 1.06 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.3434, allocations: 364.8 kB / 1.06 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004242/0.3477, allocations: 2.307 MB / 1.062 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3477, allocations: 0 / 1.062 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.146e-06/0.3477, allocations: 0 / 1.062 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001318/0.3479, allocations: 0 / 1.062 GB, free: 6.84 MB / 0.6823 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.005591/0.3535, allocations: 1.842 MB / 1.064 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3535, allocations: 8.031 kB / 1.064 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.3556, allocations: 401.6 kB / 1.064 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004065/0.3597, allocations: 1.516 MB / 1.066 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007029/0.3604, allocations: 197.9 kB / 1.066 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/0.3607, allocations: 91.94 kB / 1.066 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/0.3639, allocations: 1.114 MB / 1.067 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.3639, allocations: 7.891 kB / 1.067 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.3641, allocations: 40 kB / 1.067 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.3641, allocations: 20 kB / 1.067 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/0.3669, allocations: 0.9447 MB / 1.068 GB, free: 0.5078 MB / 0.6823 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.5289/0.8958, allocations: 4.991 MB / 1.073 GB, free: 88.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.8982, allocations: 0.7238 MB / 1.074 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.8995, allocations: 386.5 kB / 1.074 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004269/0.9038, allocations: 1.82 MB / 1.076 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/0.9052, allocations: 492.1 kB / 1.076 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006459/0.9059, allocations: 77.11 kB / 1.076 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 4.108e-06/0.9059, allocations: 0 / 1.076 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.00405/0.9099, allocations: 1.189 MB / 1.078 GB, free: 85.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.91, allocations: 91.83 kB / 1.078 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/0.913, allocations: 1.288 MB / 1.079 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.362e-05/0.9131, allocations: 39.17 kB / 1.079 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009133/0.914, allocations: 0.6546 MB / 1.08 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.9143, allocations: 144.8 kB / 1.08 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.9143, allocations: 15.41 kB / 1.08 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.9145, allocations: 328.2 kB / 1.08 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.9157, allocations: 372.4 kB / 1.08 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.9172, allocations: 0.6218 MB / 1.081 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.9185, allocations: 436.3 kB / 1.082 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.9185, allocations: 2.281 kB / 1.082 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003655/0.9222, allocations: 1.144 MB / 1.083 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002484/0.9225, allocations: 323.8 kB / 1.083 GB, free: 82.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.9225, allocations: 12 kB / 1.083 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.607e-05/0.9225, allocations: 15.31 kB / 1.083 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009463/0.9235, allocations: 199.3 kB / 1.083 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/0.9235, allocations: 12.47 kB / 1.083 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.925, allocations: 119.9 kB / 1.083 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.9252, allocations: 40.73 kB / 1.083 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.9253, allocations: 3.875 kB / 1.083 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002584/0.9278, allocations: 0.97 MB / 1.084 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.9279, allocations: 6.25 kB / 1.084 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.9279, allocations: 12.03 kB / 1.084 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.9287, allocations: 191.4 kB / 1.084 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.9287, allocations: 11.28 kB / 1.084 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.9299, allocations: 117.3 kB / 1.085 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.8e-05/0.93, allocations: 39.39 kB / 1.085 GB, free: 82.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 74 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0009557/0.931, allocations: 0.494 MB / 1.085 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.9312, allocations: 130.1 kB / 1.085 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/0.9343, allocations: 1.082 MB / 1.086 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.9344, allocations: 5.703 kB / 1.086 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.9344, allocations: 1.672 kB / 1.086 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.9344, allocations: 2.109 kB / 1.086 GB, free: 81.46 MB / 0.6823 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.005061/0.9395, allocations: 2.229 MB / 1.088 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.9395, allocations: 8.156 kB / 1.088 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.9402, allocations: 133.8 kB / 1.089 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.9402, allocations: 3.188 kB / 1.089 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.9403, allocations: 23.61 kB / 1.089 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.9403, allocations: 3.219 kB / 1.089 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.9403, allocations: 5.25 kB / 1.089 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.9431, allocations: 1.106 MB / 1.09 GB, free: 79.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/0.9438, allocations: 309 kB / 1.09 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.944, allocations: 15 kB / 1.09 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.945, allocations: 123.9 kB / 1.09 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.9451, allocations: 33.73 kB / 1.09 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-05/0.9452, allocations: 28.05 kB / 1.09 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001701/0.9469, allocations: 0.8844 MB / 1.091 GB, free: 79.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.947, allocations: 0 / 1.091 GB, free: 79.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002553/0.9495, allocations: 0.6907 MB / 1.092 GB, free: 79.13 MB / 0.6823 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 (46): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001149/0.9507, allocations: 453.5 kB / 1.092 GB, free: 78.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003772/0.9545, allocations: 1.491 MB / 1.094 GB, free: 78.44 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9545, allocations: 1.344 kB / 1.094 GB, free: 78.44 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.9557, allocations: 495.7 kB / 1.094 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/0.9589, allocations: 0.623 MB / 1.095 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.9639, allocations: 2.758 MB / 1.097 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009347/0.9649, allocations: 1.204 MB / 1.099 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001654/0.9666, allocations: 303.3 kB / 1.099 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.9669, allocations: 104 kB / 1.099 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of SimCode: time 9.21e-07/0.9669, allocations: 0 / 1.099 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.04739/1.014, allocations: 26.14 MB / 1.125 GB, free: 61.38 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)