Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.616/4.616, allocations: 0.5623 GB / 0.5769 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002352/0.002352, allocations: 356.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.912/3.912, allocations: 410.7 MB / 1.112 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001755/0.001755, allocations: 183.3 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005027/0.0005033, allocations: 12 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.5772, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002391/0.5797, allocations: 2.101 MB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.5817, allocations: 1.339 MB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.5818, allocations: 0.75 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.5826, allocations: 289.8 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.583, allocations: 183.7 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.5836, allocations: 194.2 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.5839, allocations: 338.8 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.5841, allocations: 59.19 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.5843, allocations: 135.3 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.5845, allocations: 152.3 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.5845, allocations: 8 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.5847, allocations: 52.41 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.5848, allocations: 121.4 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.08e-05/0.5849, allocations: 97.39 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.5853, allocations: 373.2 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.5853, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5853, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.5853, allocations: 1.188 kB / 1.466 GB, free: 279 MB / 0.8542 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.0009706/0.5863, allocations: 0.7692 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.5863, allocations: 11.62 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.089e-05/0.5864, allocations: 64.23 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.587, allocations: 408 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.587, allocations: 5.406 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.5871, allocations: 16.64 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.5874, allocations: 142.1 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5874, allocations: 2.125 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.5874, allocations: 0 / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-06/0.5874, allocations: 4 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.5876, allocations: 75.53 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008563/0.5885, allocations: 0.5741 MB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.5889, allocations: 124.5 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.589, allocations: 44.84 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.5891, allocations: 4.844 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.5893, allocations: 118.5 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.58e-06/0.5893, allocations: 0 / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0005529/0.5899, allocations: 232.3 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.5899, allocations: 77.11 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007888/0.5907, allocations: 0.6848 MB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.5908, allocations: 37.64 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.591, allocations: 260.4 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.591, allocations: 36.52 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.5911, allocations: 4 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.5912, allocations: 373.9 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.5914, allocations: 75.95 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.5916, allocations: 123.2 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.5918, allocations: 76.86 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5918, allocations: 2.906 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005057/0.5923, allocations: 268.7 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5923, allocations: 7.594 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.02e-06/0.5923, allocations: 4 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.5924, allocations: 0 / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.5926, allocations: 35.92 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.529e-06/0.5926, allocations: 4.438 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.5928, allocations: 32.89 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.5928, allocations: 9.078 kB / 1.471 GB, free: 274.1 MB / 0.8542 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 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.5931, allocations: 212.5 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.5932, allocations: 51.34 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.5933, allocations: 62.02 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.5933, allocations: 1.125 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.042e-06/0.5933, allocations: 0 / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.063e-06/0.5933, allocations: 0.7812 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.5936, allocations: 377.3 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-06/0.5937, allocations: 0.9688 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.5937, allocations: 15.94 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.616e-06/0.5937, allocations: 2.406 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.5938, allocations: 7.984 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.419e-06/0.5938, allocations: 0 / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.777e-06/0.5938, allocations: 0 / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.5942, allocations: 213.4 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5943, allocations: 148.2 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.5944, allocations: 1 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.5945, allocations: 20.73 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.5946, allocations: 13 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.5946, allocations: 12.81 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005439/0.5952, allocations: 463 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.73e-07/0.5952, allocations: 5.75 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003879/0.5956, allocations: 63.98 kB / 1.472 GB, free: 272.4 MB / 0.8542 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 (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.001405/0.597, allocations: 434.8 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.5974, allocations: 149.6 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.077e-06/0.5975, allocations: 0 / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.5976, allocations: 55.92 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.5982, allocations: 81.36 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.5995, allocations: 0.9323 MB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.5998, allocations: 0.8704 MB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.6, allocations: 48.81 kB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.6001, allocations: 27.42 kB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of SimCode: time 1.646e-06/0.6001, allocations: 0 / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of Templates: time 0.0115/0.6116, allocations: 3.97 MB / 1.479 GB, free: 266.3 MB / 0.8542 GB