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.001172/0.001172, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.574/1.574, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.647/1.647, allocations: 251.7 MB / 0.5092 GB, free: 3.102 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.001817/0.001817, allocations: 75.83 kB / 0.6223 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.5776, allocations: 104.7 MB / 0.7245 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004015/0.5816, allocations: 2.466 MB / 0.7269 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.5837, allocations: 1.351 MB / 0.7282 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.584, allocations: 4 kB / 0.7283 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009733/0.585, allocations: 318.7 kB / 0.7286 GB, free: 8.887 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004449/0.5855, allocations: 211.1 kB / 0.7288 GB, free: 8.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.586, allocations: 225.8 kB / 0.729 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.5864, allocations: 378.8 kB / 0.7293 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.5866, allocations: 70.67 kB / 0.7294 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.5868, allocations: 147.3 kB / 0.7295 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.587, allocations: 163.2 kB / 0.7297 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.587, allocations: 23.94 kB / 0.7297 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.5872, allocations: 55.98 kB / 0.7298 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.5873, allocations: 123.6 kB / 0.7299 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.5875, allocations: 194.5 kB / 0.7301 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004597/0.588, allocations: 474.2 kB / 0.7305 GB, free: 6.863 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.588, allocations: 0 / 0.7305 GB, free: 6.863 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.588, allocations: 4 kB / 0.7305 GB, free: 6.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.588, allocations: 4 kB / 0.7305 GB, free: 6.855 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.001116/0.5891, allocations: 0.8141 MB / 0.7313 GB, free: 5.984 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5892, allocations: 15.97 kB / 0.7313 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.522e-05/0.5893, allocations: 60.17 kB / 0.7314 GB, free: 5.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.5898, allocations: 420.7 kB / 0.7318 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.5898, allocations: 16.12 kB / 0.7318 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.5898, allocations: 7.984 kB / 0.7318 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.5901, allocations: 155 kB / 0.732 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5901, allocations: 0 / 0.732 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.5902, allocations: 4 kB / 0.732 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.5902, allocations: 4 kB / 0.732 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.5903, allocations: 67.91 kB / 0.732 GB, free: 5.203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.5911, allocations: 0.5705 MB / 0.7326 GB, free: 4.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.5915, allocations: 126.7 kB / 0.7327 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.5916, allocations: 48.83 kB / 0.7328 GB, free: 4.398 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.5916, allocations: 4 kB / 0.7328 GB, free: 4.395 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.5919, allocations: 111.3 kB / 0.7329 GB, free: 4.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.5919, allocations: 0 / 0.7329 GB, free: 4.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005233/0.5924, allocations: 236.9 kB / 0.7331 GB, free: 4.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.5925, allocations: 81.11 kB / 0.7332 GB, free: 3.938 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/0.5933, allocations: 0.6759 MB / 0.7338 GB, free: 3.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.5933, allocations: 29.7 kB / 0.7339 GB, free: 3.215 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.5935, allocations: 272.2 kB / 0.7341 GB, free: 2.945 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.5936, allocations: 39.55 kB / 0.7342 GB, free: 2.906 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/0.5937, allocations: 49.7 kB / 0.7342 GB, free: 2.852 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.5939, allocations: 370.8 kB / 0.7346 GB, free: 2.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.594, allocations: 71.97 kB / 0.7346 GB, free: 2.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.5942, allocations: 121.1 kB / 0.7348 GB, free: 2.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.5945, allocations: 130.5 kB / 0.7349 GB, free: 2.137 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5945, allocations: 0 / 0.7349 GB, free: 2.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004271/0.5949, allocations: 283.1 kB / 0.7352 GB, free: 1.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5949, allocations: 4 kB / 0.7352 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5949, allocations: 0 / 0.7352 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.595, allocations: 7.984 kB / 0.7352 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.5951, allocations: 31.92 kB / 0.7352 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5952, allocations: 4 kB / 0.7352 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.5953, allocations: 23.83 kB / 0.7352 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.5953, allocations: 12 kB / 0.7352 GB, free: 1.773 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.0002247/0.5956, allocations: 211.5 kB / 0.7354 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/0.5956, allocations: 63.28 kB / 0.7355 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.5957, allocations: 53.05 kB / 0.7355 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5957, allocations: 0 / 0.7355 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5958, allocations: 0 / 0.7355 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5958, allocations: 0 / 0.7355 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.5961, allocations: 369.3 kB / 0.7359 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5961, allocations: 0 / 0.7359 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.5962, allocations: 19.92 kB / 0.7359 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5962, allocations: 0 / 0.7359 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.5962, allocations: 8 kB / 0.7359 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5962, allocations: 0 / 0.7359 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5962, allocations: 0 / 0.7359 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.5966, allocations: 221.4 kB / 0.7361 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.5967, allocations: 128.3 kB / 0.7363 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.5967, allocations: 11.98 kB / 0.7363 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.5968, allocations: 12 kB / 0.7363 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.5969, allocations: 19.97 kB / 0.7363 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.5969, allocations: 4 kB / 0.7363 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004658/0.5974, allocations: 467 kB / 0.7367 GB, free: 128 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5974, allocations: 0 / 0.7367 GB, free: 128 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002867/0.5977, allocations: 59.91 kB / 0.7368 GB, free: 68 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.001126/0.5988, allocations: 427.4 kB / 0.7372 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.5993, allocations: 159.8 kB / 0.7374 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5993, allocations: 0 / 0.7374 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.5994, allocations: 66.83 kB / 0.7374 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.6, allocations: 98.92 kB / 0.7375 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.6015, allocations: 0.8327 MB / 0.7383 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.602, allocations: 0.8619 MB / 0.7392 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.6022, allocations: 46.27 kB / 0.7392 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.6022, allocations: 35.42 kB / 0.7393 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.6022, allocations: 4 kB / 0.7393 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.009475/0.6117, allocations: 4.173 MB / 0.7433 GB, free: 9.527 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)