Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.588/1.588, allocations: 255.9 MB / 271.2 MB, free: 8.922 MB / 218.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.00104/0.00104, allocations: 178 kB / 330.8 MB, free: 492 kB / 250.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.614/1.614, allocations: 225.7 MB / 0.6016 GB, free: 1.703 MB / 426.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.0007235/0.0007235, allocations: 95.62 kB / 0.709 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 8.531 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2051, allocations: 109.2 MB / 0.9328 GB, free: 6.312 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002259/0.2074, allocations: 2.098 MB / 0.9348 GB, free: 4.199 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.2091, allocations: 1.554 MB / 0.9363 GB, free: 2.586 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.2093, allocations: 7.938 kB / 0.9363 GB, free: 2.578 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007938/0.2101, allocations: 307.5 kB / 0.9366 GB, free: 2.277 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.2104, allocations: 195.3 kB / 0.9368 GB, free: 2.086 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.2109, allocations: 223.6 kB / 0.937 GB, free: 1.867 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.2112, allocations: 370.8 kB / 0.9374 GB, free: 1.504 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2113, allocations: 64.98 kB / 0.9374 GB, free: 1.441 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.2115, allocations: 147.2 kB / 0.9376 GB, free: 1.297 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.2116, allocations: 143.3 kB / 0.9377 GB, free: 1.156 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.2116, allocations: 4 kB / 0.9377 GB, free: 1.152 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.2118, allocations: 51.91 kB / 0.9378 GB, free: 1.102 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.2119, allocations: 115.6 kB / 0.9379 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.212, allocations: 200.3 kB / 0.9381 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.2123, allocations: 458.1 kB / 0.9385 GB, free: 344 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2123, allocations: 0 / 0.9385 GB, free: 344 kB / 0.573 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2123, allocations: 0 / 0.9385 GB, free: 344 kB / 0.573 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.2123, allocations: 3.938 kB / 0.9385 GB, free: 340 kB / 0.573 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.001015/0.2133, allocations: 0.7523 MB / 0.9392 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2134, allocations: 11.98 kB / 0.9393 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.2135, allocations: 64.19 kB / 0.9393 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.214, allocations: 424.6 kB / 0.9397 GB, free: 15 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.214, allocations: 16.12 kB / 0.9397 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.214, allocations: 15.94 kB / 0.9398 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.2143, allocations: 131.9 kB / 0.9399 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2143, allocations: 0 / 0.9399 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.2143, allocations: 4 kB / 0.9399 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2143, allocations: 4 kB / 0.9399 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.2145, allocations: 79.83 kB / 0.94 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007543/0.2153, allocations: 0.5705 MB / 0.9405 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.2156, allocations: 122.8 kB / 0.9406 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.702e-05/0.2157, allocations: 48.84 kB / 0.9407 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.2157, allocations: 0 / 0.9407 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.2159, allocations: 123.3 kB / 0.9408 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.2159, allocations: 0 / 0.9408 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0004461/0.2164, allocations: 221.1 kB / 0.941 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.2165, allocations: 81.11 kB / 0.9411 GB, free: 13.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006617/0.2171, allocations: 0.672 MB / 0.9417 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2172, allocations: 29.7 kB / 0.9418 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.2174, allocations: 264.3 kB / 0.942 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.2174, allocations: 43.53 kB / 0.9421 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.2174, allocations: 8 kB / 0.9421 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2176, allocations: 370.8 kB / 0.9424 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.2177, allocations: 71.97 kB / 0.9425 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.2179, allocations: 118.4 kB / 0.9426 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.2181, allocations: 132.7 kB / 0.9427 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2181, allocations: 3.938 kB / 0.9427 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003929/0.2185, allocations: 266.9 kB / 0.943 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2185, allocations: 11.91 kB / 0.943 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2186, allocations: 0 / 0.943 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2186, allocations: 0 / 0.943 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.2187, allocations: 31.98 kB / 0.943 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2187, allocations: 8.062 kB / 0.943 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.2189, allocations: 27.83 kB / 0.9431 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.2189, allocations: 11.92 kB / 0.9431 GB, free: 11.38 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.2192, allocations: 209 kB / 0.9433 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.2192, allocations: 63.2 kB / 0.9433 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.88e-05/0.2193, allocations: 61.05 kB / 0.9434 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2193, allocations: 4 kB / 0.9434 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2193, allocations: 0 / 0.9434 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2194, allocations: 0 / 0.9434 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.2197, allocations: 369.3 kB / 0.9438 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2197, allocations: 0 / 0.9438 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.2197, allocations: 19.88 kB / 0.9438 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2197, allocations: 0 / 0.9438 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2198, allocations: 11.98 kB / 0.9438 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2198, allocations: 0 / 0.9438 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2198, allocations: 0 / 0.9438 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.2201, allocations: 216.4 kB / 0.944 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.2202, allocations: 136.3 kB / 0.9441 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.2203, allocations: 8 kB / 0.9441 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.2204, allocations: 15.98 kB / 0.9441 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.2205, allocations: 11.98 kB / 0.9442 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2205, allocations: 7.984 kB / 0.9442 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004846/0.221, allocations: 463 kB / 0.9446 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.221, allocations: 0 / 0.9446 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000295/0.2213, allocations: 59.98 kB / 0.9447 GB, free: 9.664 MB / 0.5886 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.0009468/0.2222, allocations: 498.5 kB / 0.9451 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.2226, allocations: 147.9 kB / 0.9453 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2226, allocations: 0 / 0.9453 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.2227, allocations: 64.03 kB / 0.9453 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.2232, allocations: 82.88 kB / 0.9454 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.2244, allocations: 0.9656 MB / 0.9464 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.2248, allocations: 0.8613 MB / 0.9472 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.225, allocations: 50.23 kB / 0.9473 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.2251, allocations: 23.44 kB / 0.9473 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of SimCode: time 2.41e-07/0.2251, allocations: 0 / 0.9473 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of Templates: time 0.008281/0.2334, allocations: 3.921 MB / 0.9511 GB, free: 3.176 MB / 0.5886 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)