Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, 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.001664/0.001664, allocations: 195.1 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.591/1.591, allocations: 205.1 MB / 222 MB, free: 5 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.681/1.681, allocations: 251.6 MB / 0.5088 GB, free: 3.395 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.001599/0.001598, allocations: 59.91 kB / 0.6216 GB, free: 2 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5767, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003785/0.5805, allocations: 2.527 MB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.5825, allocations: 1.316 MB / 0.7276 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.5827, allocations: 7.938 kB / 0.7276 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008363/0.5836, allocations: 311 kB / 0.7279 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.5839, allocations: 190.5 kB / 0.7281 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.5844, allocations: 202.7 kB / 0.7282 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.5848, allocations: 370.7 kB / 0.7286 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.585, allocations: 74.66 kB / 0.7287 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.5852, allocations: 139.3 kB / 0.7288 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.5853, allocations: 155.2 kB / 0.7289 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.5854, allocations: 8 kB / 0.729 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.5856, allocations: 55.97 kB / 0.729 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.5857, allocations: 119.5 kB / 0.7291 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.5858, allocations: 174.6 kB / 0.7293 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.5863, allocations: 470.1 kB / 0.7297 GB, free: 7.055 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5863, allocations: 0 / 0.7297 GB, free: 7.055 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5863, allocations: 0 / 0.7297 GB, free: 7.055 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.5863, allocations: 0 / 0.7297 GB, free: 7.055 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001153/0.5875, allocations: 0.822 MB / 0.7305 GB, free: 6.176 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5875, allocations: 8.031 kB / 0.7305 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.5876, allocations: 68.12 kB / 0.7306 GB, free: 6.102 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.5882, allocations: 420.7 kB / 0.731 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.5882, allocations: 16.06 kB / 0.731 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.5882, allocations: 8 kB / 0.731 GB, free: 5.629 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.5885, allocations: 139.9 kB / 0.7312 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5885, allocations: 0 / 0.7312 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.5885, allocations: 8 kB / 0.7312 GB, free: 5.473 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5886, allocations: 0 / 0.7312 GB, free: 5.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.5887, allocations: 72.45 kB / 0.7312 GB, free: 5.402 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008321/0.5896, allocations: 0.5667 MB / 0.7318 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.5899, allocations: 130.7 kB / 0.7319 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.59, allocations: 52.78 kB / 0.732 GB, free: 4.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.59, allocations: 0 / 0.732 GB, free: 4.594 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.5903, allocations: 107.3 kB / 0.7321 GB, free: 4.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5903, allocations: 3.938 kB / 0.7321 GB, free: 4.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004976/0.5908, allocations: 244.9 kB / 0.7323 GB, free: 4.227 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.5909, allocations: 77.11 kB / 0.7324 GB, free: 4.133 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007012/0.5916, allocations: 0.6759 MB / 0.7331 GB, free: 3.445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.5916, allocations: 33.7 kB / 0.7331 GB, free: 3.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.5918, allocations: 264.3 kB / 0.7333 GB, free: 3.145 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.5919, allocations: 39.53 kB / 0.7334 GB, free: 3.105 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.592, allocations: 61.62 kB / 0.7334 GB, free: 3.039 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5921, allocations: 366.8 kB / 0.7338 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.5923, allocations: 71.95 kB / 0.7338 GB, free: 2.602 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.5925, allocations: 125.1 kB / 0.734 GB, free: 2.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.5927, allocations: 134 kB / 0.7341 GB, free: 2.324 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5927, allocations: 0 / 0.7341 GB, free: 2.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000426/0.5931, allocations: 268.7 kB / 0.7344 GB, free: 2.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5932, allocations: 4 kB / 0.7344 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5932, allocations: 8.062 kB / 0.7344 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5932, allocations: 0 / 0.7344 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.5934, allocations: 35.92 kB / 0.7344 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.5934, allocations: 0 / 0.7344 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.5936, allocations: 27.83 kB / 0.7344 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.5936, allocations: 8 kB / 0.7344 GB, free: 1.973 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0003243/0.5939, allocations: 219.5 kB / 0.7346 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.594, allocations: 63.27 kB / 0.7347 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.5941, allocations: 57.05 kB / 0.7348 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5941, allocations: 4 kB / 0.7348 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5941, allocations: 0 / 0.7348 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5941, allocations: 0 / 0.7348 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.5945, allocations: 365.3 kB / 0.7351 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5945, allocations: 0 / 0.7351 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.5945, allocations: 11.94 kB / 0.7351 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.5946, allocations: 0 / 0.7351 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.5946, allocations: 0 / 0.7351 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.5946, allocations: 7.984 kB / 0.7351 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5946, allocations: 4 kB / 0.7351 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.595, allocations: 214.5 kB / 0.7353 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.5951, allocations: 132.3 kB / 0.7355 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.5952, allocations: 8 kB / 0.7355 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.5953, allocations: 7.984 kB / 0.7355 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.5954, allocations: 19.97 kB / 0.7355 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.5954, allocations: 11.94 kB / 0.7355 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005068/0.5959, allocations: 467 kB / 0.736 GB, free: 328 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5959, allocations: 0 / 0.736 GB, free: 328 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003099/0.5962, allocations: 67.84 kB / 0.736 GB, free: 260 kB / 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: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001097/0.5973, allocations: 419.7 kB / 0.7364 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.5977, allocations: 147.9 kB / 0.7366 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5977, allocations: 8.062 kB / 0.7366 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.5979, allocations: 51.98 kB / 0.7366 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.5984, allocations: 87.75 kB / 0.7367 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.5997, allocations: 0.9476 MB / 0.7376 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.6003, allocations: 0.8652 MB / 0.7385 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.6004, allocations: 42.25 kB / 0.7385 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.6005, allocations: 35.42 kB / 0.7385 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.6005, allocations: 0 / 0.7385 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.009067/0.6096, allocations: 3.949 MB / 0.7424 GB, free: 9.859 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)