Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.571/4.571, allocations: 0.5623 GB / 0.5769 GB, free: 3.359 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.0024/0.002399, allocations: 359.1 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.942/3.942, allocations: 410.7 MB / 1.112 GB, free: 5.848 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.001765/0.001764, allocations: 200.7 kB / 1.225 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004897, allocations: 12 kB / 1.348 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5708/0.5713, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002238/0.5736, allocations: 1.912 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.5754, allocations: 1.241 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.5755, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.576, allocations: 172.2 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.5763, allocations: 108.4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.5767, allocations: 105.3 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.5769, allocations: 239.1 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.5771, allocations: 41.11 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.5772, allocations: 93.75 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.5774, allocations: 107.5 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.5774, allocations: 4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.5775, allocations: 39.92 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.5776, allocations: 91.66 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.5777, allocations: 86.61 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.578, allocations: 291.3 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.169e-06/0.578, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.737e-06/0.578, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.5781, allocations: 0.75 kB / 1.465 GB, free: 279.8 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008434/0.5789, allocations: 0.6479 MB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.579, allocations: 15.56 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.579, allocations: 47.39 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.5796, allocations: 393.4 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.5796, allocations: 4 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.5796, allocations: 12 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.5799, allocations: 85.66 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5799, allocations: 1.656 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.5799, allocations: 11.92 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-06/0.5799, allocations: 7.953 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.5801, allocations: 47.92 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.5809, allocations: 0.4961 MB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.5813, allocations: 112.6 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.806e-05/0.5814, allocations: 33.61 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.5815, allocations: 4.484 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.5817, allocations: 84.5 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 3.688e-06/0.5817, allocations: 1 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0004184/0.5821, allocations: 174.2 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.5822, allocations: 56.62 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.5827, allocations: 0.4911 MB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.5828, allocations: 29.7 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.5829, allocations: 232.8 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.583, allocations: 24.55 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.583, allocations: 4 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.5831, allocations: 355.5 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.5832, allocations: 53.19 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.5834, allocations: 79.7 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.5836, allocations: 52.95 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-06/0.5836, allocations: 0 / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003992/0.584, allocations: 206 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.584, allocations: 4 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.584, allocations: 4.594 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5841, allocations: 4.609 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.5843, allocations: 35.92 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.071e-06/0.5843, allocations: 8.938 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.5845, allocations: 24.45 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.5845, allocations: 9.781 kB / 1.469 GB, free: 275.8 MB / 0.8542 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 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001837/0.5847, allocations: 181.8 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.5848, allocations: 43.44 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.577e-05/0.5849, allocations: 52.89 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.646e-06/0.5849, allocations: 4 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5849, allocations: 3.203 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.195e-06/0.5849, allocations: 0 / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.5852, allocations: 321.5 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-06/0.5852, allocations: 7.891 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.5853, allocations: 11.94 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.461e-06/0.5853, allocations: 0 / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.5854, allocations: 1.906 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.991e-06/0.5854, allocations: 7.984 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.5854, allocations: 0 / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.5858, allocations: 214.2 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/0.5859, allocations: 120.5 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.586, allocations: 4 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.5861, allocations: 9.25 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.5862, allocations: 11.97 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.5862, allocations: 4.844 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000381/0.5866, allocations: 350.8 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.41e-07/0.5866, allocations: 0.5 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003433/0.587, allocations: 59.83 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001367/0.5883, allocations: 414 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.5887, allocations: 107.3 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.674e-06/0.5887, allocations: 7.875 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.5888, allocations: 41.14 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.5893, allocations: 59.27 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.5905, allocations: 0.7772 MB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.5908, allocations: 0.8345 MB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000149/0.5909, allocations: 39.66 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.588e-05/0.591, allocations: 23.62 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.45e-06/0.591, allocations: 0 / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.009347/0.6004, allocations: 2.829 MB / 1.475 GB, free: 269.6 MB / 0.8542 GB