Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 297.4 MB / 312.6 MB, free: 2.934 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 192.4 kB / 382.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.7 MB / 0.6617 GB, free: 7.215 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008587/0.0008587, allocations: 94.3 kB / 0.7789 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 8 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6689/0.6693, allocations: 119.2 MB / 1.022 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002779/0.6721, allocations: 1.914 MB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.6741, allocations: 1.486 MB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.6742, allocations: 3.469 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006442/0.6749, allocations: 181.6 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.6752, allocations: 122.2 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.6757, allocations: 144.5 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.676, allocations: 243.2 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.6762, allocations: 57.06 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.6763, allocations: 99.44 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.6765, allocations: 101.3 kB / 1.027 GB, free: 55.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.6765, allocations: 4.969 kB / 1.027 GB, free: 55.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.6767, allocations: 44.17 kB / 1.027 GB, free: 55.28 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.6768, allocations: 88.67 kB / 1.027 GB, free: 55.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.6769, allocations: 160 kB / 1.027 GB, free: 55.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.6773, allocations: 378.6 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.6773, allocations: 0 / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6773, allocations: 1.938 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.6773, allocations: 0 / 1.027 GB, free: 54.98 MB / 0.698 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.0007984/0.6781, allocations: 0.6472 MB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.6782, allocations: 9.031 kB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.6783, allocations: 46.5 kB / 1.028 GB, free: 54.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.6787, allocations: 407.9 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.6787, allocations: 13.56 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.6788, allocations: 17.97 kB / 1.028 GB, free: 54.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.679, allocations: 91.19 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.679, allocations: 1.031 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.679, allocations: 5.812 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.679, allocations: 1.125 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.6792, allocations: 54.64 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007359/0.6799, allocations: 0.502 MB / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.6803, allocations: 104.2 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.6803, allocations: 35.41 kB / 1.029 GB, free: 53.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.6804, allocations: 1.594 kB / 1.029 GB, free: 53.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.6805, allocations: 89.34 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.6805, allocations: 1.094 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0003422/0.6809, allocations: 175 kB / 1.029 GB, free: 53.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.6809, allocations: 61.12 kB / 1.029 GB, free: 53.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.6814, allocations: 0.4885 MB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.6814, allocations: 31.11 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.6816, allocations: 223.2 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.6816, allocations: 27.12 kB / 1.03 GB, free: 52.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.6816, allocations: 7.656 kB / 1.03 GB, free: 52.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.6817, allocations: 358 kB / 1.03 GB, free: 52.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.6818, allocations: 44.89 kB / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.682, allocations: 80.7 kB / 1.031 GB, free: 52.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.6821, allocations: 98.66 kB / 1.031 GB, free: 52.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6821, allocations: 0 / 1.031 GB, free: 52.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000318/0.6825, allocations: 205.7 kB / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6825, allocations: 5.188 kB / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6825, allocations: 1.859 kB / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6825, allocations: 5.875 kB / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.6827, allocations: 37.42 kB / 1.031 GB, free: 52.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6827, allocations: 2.172 kB / 1.031 GB, free: 52.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.6829, allocations: 22.22 kB / 1.031 GB, free: 52.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.6829, allocations: 15.56 kB / 1.031 GB, free: 52.29 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.6831, allocations: 188.2 kB / 1.031 GB, free: 52.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.6831, allocations: 47.78 kB / 1.031 GB, free: 52.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.656e-05/0.6832, allocations: 53.17 kB / 1.031 GB, free: 52.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.6832, allocations: 5.562 kB / 1.031 GB, free: 52.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6832, allocations: 0 / 1.031 GB, free: 52.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.6832, allocations: 0 / 1.031 GB, free: 52.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.6835, allocations: 320.5 kB / 1.032 GB, free: 51.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6835, allocations: 6.625 kB / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.6836, allocations: 8.016 kB / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6836, allocations: 0.625 kB / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.6836, allocations: 3.109 kB / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.6836, allocations: 5.688 kB / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6836, allocations: 0 / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.6839, allocations: 218.2 kB / 1.032 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.684, allocations: 124.1 kB / 1.032 GB, free: 51.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.684, allocations: 3.906 kB / 1.032 GB, free: 51.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.6841, allocations: 13.12 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.6842, allocations: 9.547 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.6842, allocations: 3.625 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003141/0.6845, allocations: 355.8 kB / 1.032 GB, free: 51.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6845, allocations: 0 / 1.032 GB, free: 51.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000244/0.6848, allocations: 44.89 kB / 1.032 GB, free: 51.41 MB / 0.698 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 (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.0009565/0.6858, allocations: 486.7 kB / 1.033 GB, free: 51.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.686, allocations: 107.4 kB / 1.033 GB, free: 51.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.686, allocations: 4.031 kB / 1.033 GB, free: 51.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/0.6861, allocations: 53.36 kB / 1.033 GB, free: 51.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.6865, allocations: 62.38 kB / 1.033 GB, free: 51.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.6876, allocations: 0.816 MB / 1.034 GB, free: 50.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.6879, allocations: 0.8238 MB / 1.035 GB, free: 49.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.688, allocations: 36.19 kB / 1.035 GB, free: 49.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.6881, allocations: 31.19 kB / 1.035 GB, free: 49.88 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.6881, allocations: 0 / 1.035 GB, free: 49.88 MB / 0.698 GB Notification: Performance of Templates: time 0.006751/0.6948, allocations: 2.877 MB / 1.037 GB, free: 49.64 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)