Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008865/0.0008865, 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.006608/0.006608, allocations: 173.2 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.628/1.628, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.506/1.506, allocations: 252 MB / 0.5105 GB, free: 4.688 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.0005335/0.0005335, allocations: 16 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.529, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002448/0.5315, allocations: 1.903 MB / 0.7306 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.533, allocations: 1.113 MB / 0.7317 GB, free: 8.238 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.669e-05/0.5331, allocations: 3.938 kB / 0.7317 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.5337, allocations: 175.3 kB / 0.7318 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.5339, allocations: 111.5 kB / 0.732 GB, free: 7.953 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.5342, allocations: 90.91 kB / 0.732 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00024/0.5344, allocations: 215.1 kB / 0.7322 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.5345, allocations: 38.36 kB / 0.7323 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.5347, allocations: 79.58 kB / 0.7324 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.5348, allocations: 99.48 kB / 0.7325 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.5348, allocations: 4 kB / 0.7325 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.053e-05/0.5349, allocations: 23.98 kB / 0.7325 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.535, allocations: 83.69 kB / 0.7326 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.5351, allocations: 156.5 kB / 0.7327 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.5355, allocations: 330.6 kB / 0.733 GB, free: 6.852 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5355, allocations: 0 / 0.733 GB, free: 6.852 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5355, allocations: 0 / 0.733 GB, free: 6.852 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5355, allocations: 0 / 0.733 GB, free: 6.852 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007198/0.5362, allocations: 0.6106 MB / 0.7336 GB, free: 6.191 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5363, allocations: 12.03 kB / 0.7336 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.5363, allocations: 52.36 kB / 0.7337 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.5367, allocations: 336.1 kB / 0.734 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.5367, allocations: 12.31 kB / 0.734 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.5367, allocations: 8.125 kB / 0.734 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.5369, allocations: 73.66 kB / 0.7341 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.5369, allocations: 4 kB / 0.7341 GB, free: 5.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.537, allocations: 4 kB / 0.7341 GB, free: 5.656 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.537, allocations: 0 / 0.7341 GB, free: 5.656 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.369e-05/0.5371, allocations: 35.98 kB / 0.7341 GB, free: 5.621 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.5377, allocations: 464.4 kB / 0.7346 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.5378, allocations: 66.69 kB / 0.7346 GB, free: 5.043 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.5379, allocations: 28.84 kB / 0.7347 GB, free: 5.012 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.5379, allocations: 0 / 0.7347 GB, free: 5.012 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.5381, allocations: 79.31 kB / 0.7347 GB, free: 4.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.5381, allocations: 4 kB / 0.7347 GB, free: 4.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0003119/0.5385, allocations: 137.2 kB / 0.7349 GB, free: 4.777 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.5385, allocations: 59.34 kB / 0.7349 GB, free: 4.707 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/0.539, allocations: 0.5253 MB / 0.7354 GB, free: 4.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.5391, allocations: 33.7 kB / 0.7355 GB, free: 4.133 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.5392, allocations: 204 kB / 0.7357 GB, free: 3.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.5393, allocations: 19.8 kB / 0.7357 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.5393, allocations: 25.72 kB / 0.7357 GB, free: 3.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5395, allocations: 358.8 kB / 0.7361 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/0.5396, allocations: 47.98 kB / 0.7361 GB, free: 3.473 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.5397, allocations: 78.48 kB / 0.7362 GB, free: 3.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.5398, allocations: 85.64 kB / 0.7363 GB, free: 3.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5399, allocations: 0 / 0.7363 GB, free: 3.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002878/0.5401, allocations: 200.3 kB / 0.7365 GB, free: 3.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5402, allocations: 4 kB / 0.7365 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5402, allocations: 0 / 0.7365 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5402, allocations: 0 / 0.7365 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.5403, allocations: 23.98 kB / 0.7365 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5403, allocations: 3.938 kB / 0.7365 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.5404, allocations: 23.92 kB / 0.7365 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.5405, allocations: 4 kB / 0.7365 GB, free: 3.039 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001662/0.5406, allocations: 184.4 kB / 0.7367 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.5407, allocations: 51.36 kB / 0.7367 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.734e-05/0.5408, allocations: 39.81 kB / 0.7368 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5408, allocations: 4 kB / 0.7368 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5408, allocations: 3.938 kB / 0.7368 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5408, allocations: 0 / 0.7368 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.541, allocations: 297.5 kB / 0.7371 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5411, allocations: 4 kB / 0.7371 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.5411, allocations: 368 / 0.7371 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5411, allocations: 7.938 kB / 0.7371 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.5411, allocations: 11.98 kB / 0.7371 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5411, allocations: 3.984 kB / 0.7371 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5411, allocations: 3.938 kB / 0.7371 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.5413, allocations: 152.5 kB / 0.7372 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.5414, allocations: 108.6 kB / 0.7373 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.5415, allocations: 3.984 kB / 0.7373 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.5416, allocations: 12 kB / 0.7374 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.5416, allocations: 15.92 kB / 0.7374 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.5416, allocations: 4 kB / 0.7374 GB, free: 2.051 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003501/0.542, allocations: 358.8 kB / 0.7377 GB, free: 1.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.542, allocations: 0 / 0.7377 GB, free: 1.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002426/0.5422, allocations: 43.89 kB / 0.7378 GB, free: 1.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008662/0.5431, allocations: 414 kB / 0.7382 GB, free: 1.406 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.5434, allocations: 95.91 kB / 0.7382 GB, free: 1.312 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5434, allocations: 0 / 0.7382 GB, free: 1.312 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.5435, allocations: 27.98 kB / 0.7383 GB, free: 1.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.5438, allocations: 49.94 kB / 0.7383 GB, free: 1.234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008988/0.5447, allocations: 0.7455 MB / 0.739 GB, free: 476 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.5451, allocations: 0.8155 MB / 0.7398 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.057e-05/0.5452, allocations: 21.55 kB / 0.7399 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.5453, allocations: 23.44 kB / 0.7399 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.5453, allocations: 0 / 0.7399 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.006299/0.5516, allocations: 2.537 MB / 0.7424 GB, free: 13.08 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) Environment - environmentSimulation: