Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.759/1.759, allocations: 291.7 MB / 306.8 MB, free: 7.664 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.001528/0.001528, allocations: 180.5 kB / 375.4 MB, free: 5.113 MB / 298.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.575/1.575, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0007464/0.0007464, allocations: 98.7 kB / 0.7699 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003946, allocations: 10.72 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6766, allocations: 118.1 MB / 1.011 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002577/0.6792, allocations: 2.09 MB / 1.013 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.6813, allocations: 1.44 MB / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.6815, allocations: 7.75 kB / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008532/0.6823, allocations: 295.1 kB / 1.015 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.6827, allocations: 180 kB / 1.015 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.6833, allocations: 213.2 kB / 1.015 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.6837, allocations: 347.8 kB / 1.015 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.6839, allocations: 67.95 kB / 1.015 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.684, allocations: 140.8 kB / 1.016 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.6842, allocations: 150.4 kB / 1.016 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.6843, allocations: 5.875 kB / 1.016 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.6844, allocations: 62.06 kB / 1.016 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.6846, allocations: 116.2 kB / 1.016 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.359e-05/0.6846, allocations: 94.67 kB / 1.016 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.685, allocations: 367.7 kB / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.685, allocations: 0 / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/0.685, allocations: 0.5312 kB / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.685, allocations: 1.844 kB / 1.016 GB, free: 57.45 MB / 0.7136 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.0009891/0.686, allocations: 0.7654 MB / 1.017 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.686, allocations: 10.34 kB / 1.017 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.6861, allocations: 58.44 kB / 1.017 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.6866, allocations: 433.1 kB / 1.018 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.6866, allocations: 15.31 kB / 1.018 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.6867, allocations: 6.516 kB / 1.018 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.6869, allocations: 142.9 kB / 1.018 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.687, allocations: 0.625 kB / 1.018 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.687, allocations: 8.969 kB / 1.018 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.687, allocations: 7.844 kB / 1.018 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.6872, allocations: 66.81 kB / 1.018 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.6879, allocations: 0.5802 MB / 1.018 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.6882, allocations: 127.3 kB / 1.018 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.6883, allocations: 49.91 kB / 1.019 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.6884, allocations: 2.875 kB / 1.019 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.6886, allocations: 112.9 kB / 1.019 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.6886, allocations: 1.562 kB / 1.019 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0005166/0.6891, allocations: 240 kB / 1.019 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.6892, allocations: 77.8 kB / 1.019 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007077/0.6899, allocations: 0.6834 MB / 1.02 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.6899, allocations: 32.39 kB / 1.02 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.6901, allocations: 257.7 kB / 1.02 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.6902, allocations: 40.22 kB / 1.02 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.6902, allocations: 3.688 kB / 1.02 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6903, allocations: 371.1 kB / 1.02 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.6904, allocations: 74.59 kB / 1.02 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.6906, allocations: 123.5 kB / 1.02 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.6908, allocations: 133.5 kB / 1.021 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6909, allocations: 3.938 kB / 1.021 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003858/0.6912, allocations: 265.2 kB / 1.021 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.6913, allocations: 6.312 kB / 1.021 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.6913, allocations: 7.969 kB / 1.021 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.6913, allocations: 0 / 1.021 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.6915, allocations: 41.12 kB / 1.021 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6915, allocations: 4.938 kB / 1.021 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.6917, allocations: 30.56 kB / 1.021 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.6917, allocations: 7.094 kB / 1.021 GB, free: 55.19 MB / 0.7136 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.0002061/0.6919, allocations: 221.4 kB / 1.021 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.692, allocations: 57.81 kB / 1.021 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.126e-05/0.6921, allocations: 57.61 kB / 1.021 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6921, allocations: 0 / 1.021 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.6921, allocations: 3.688 kB / 1.021 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.6921, allocations: 0 / 1.021 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.6925, allocations: 371.3 kB / 1.022 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6925, allocations: 3.938 kB / 1.022 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.6925, allocations: 7.625 kB / 1.022 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6925, allocations: 0.5938 kB / 1.022 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.6925, allocations: 3.953 kB / 1.022 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.6926, allocations: 3.234 kB / 1.022 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6926, allocations: 1.312 kB / 1.022 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.6929, allocations: 219.8 kB / 1.022 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/0.693, allocations: 140 kB / 1.022 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.6931, allocations: 11.38 kB / 1.022 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6932, allocations: 17.41 kB / 1.022 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.6933, allocations: 16.09 kB / 1.022 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.6933, allocations: 6.344 kB / 1.022 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000461/0.6937, allocations: 464.8 kB / 1.022 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6938, allocations: 2.219 kB / 1.022 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003452/0.6941, allocations: 67.31 kB / 1.023 GB, free: 54.5 MB / 0.7136 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.001015/0.6951, allocations: 486 kB / 1.023 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.6955, allocations: 153.5 kB / 1.023 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6955, allocations: 0 / 1.023 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.6956, allocations: 60.17 kB / 1.023 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.6961, allocations: 91.69 kB / 1.023 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.6973, allocations: 0.9225 MB / 1.024 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.6976, allocations: 0.8599 MB / 1.025 GB, free: 53.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.6977, allocations: 54.66 kB / 1.025 GB, free: 53.15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/0.6978, allocations: 27.81 kB / 1.025 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.6978, allocations: 0 / 1.025 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.008982/0.7068, allocations: 3.963 MB / 1.029 GB, free: 52.92 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)