Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.404/2.404, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.00139/0.00139, allocations: 188.1 kB / 329.5 MB, free: 1.168 MB / 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 2.61/2.61, allocations: 225.6 MB / 0.6001 GB, free: 2.223 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.0009412/0.0009411, allocations: 94.02 kB / 0.7074 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005598/0.0005602, allocations: 11.31 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2174, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00323/0.2207, allocations: 2.101 MB / 0.9328 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.2236, allocations: 1.323 MB / 0.9341 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.224, allocations: 0 / 0.9341 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.2251, allocations: 291 kB / 0.9344 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006222/0.2257, allocations: 179.3 kB / 0.9346 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.2266, allocations: 207.5 kB / 0.9348 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.2272, allocations: 334.8 kB / 0.9351 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.2274, allocations: 72.86 kB / 0.9351 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.2277, allocations: 135.4 kB / 0.9353 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.228, allocations: 147.3 kB / 0.9354 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.142e-05/0.2281, allocations: 4 kB / 0.9354 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.2283, allocations: 39.92 kB / 0.9355 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.2284, allocations: 119.6 kB / 0.9356 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.2286, allocations: 93.39 kB / 0.9357 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.229, allocations: 359.4 kB / 0.936 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2291, allocations: 4 kB / 0.936 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2291, allocations: 0 / 0.936 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2291, allocations: 0 / 0.936 GB, free: 19.73 MB / 0.5886 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.001372/0.2305, allocations: 0.7562 MB / 0.9367 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.2305, allocations: 8.031 kB / 0.9368 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.2307, allocations: 68.12 kB / 0.9368 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007017/0.2314, allocations: 405.2 kB / 0.9372 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.2314, allocations: 11.94 kB / 0.9372 GB, free: 18.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.2315, allocations: 12 kB / 0.9372 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.2319, allocations: 138 kB / 0.9374 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2319, allocations: 0 / 0.9374 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.2319, allocations: 0 / 0.9374 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.2319, allocations: 7.938 kB / 0.9374 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.2322, allocations: 75.95 kB / 0.9374 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.2333, allocations: 0.5666 MB / 0.938 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.2338, allocations: 130.7 kB / 0.9381 GB, free: 17.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.2339, allocations: 44.84 kB / 0.9382 GB, free: 17.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.234, allocations: 0 / 0.9382 GB, free: 17.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.2343, allocations: 123.2 kB / 0.9383 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/0.2344, allocations: 0 / 0.9383 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0007713/0.2351, allocations: 229.5 kB / 0.9385 GB, free: 17 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.2352, allocations: 85.11 kB / 0.9386 GB, free: 16.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.2363, allocations: 0.672 MB / 0.9392 GB, free: 16.21 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.2364, allocations: 25.7 kB / 0.9393 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.2366, allocations: 268.3 kB / 0.9395 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.2367, allocations: 35.56 kB / 0.9395 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.2367, allocations: 8 kB / 0.9396 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2369, allocations: 370.8 kB / 0.9399 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.2371, allocations: 71.97 kB / 0.94 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.2374, allocations: 122.8 kB / 0.9401 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.2377, allocations: 71.98 kB / 0.9402 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2377, allocations: 0 / 0.9402 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006991/0.2384, allocations: 267.8 kB / 0.9404 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.2384, allocations: 4 kB / 0.9404 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.2384, allocations: 3.984 kB / 0.9404 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.2385, allocations: 4 kB / 0.9404 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.2388, allocations: 35.92 kB / 0.9405 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2388, allocations: 4 kB / 0.9405 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.2391, allocations: 31.89 kB / 0.9405 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.2392, allocations: 12 kB / 0.9405 GB, free: 14.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003307/0.2395, allocations: 212 kB / 0.9407 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.2397, allocations: 55.28 kB / 0.9408 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.2398, allocations: 57.05 kB / 0.9408 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2398, allocations: 0 / 0.9408 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.2398, allocations: 11.94 kB / 0.9408 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2398, allocations: 0 / 0.9408 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.2402, allocations: 369.3 kB / 0.9412 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2403, allocations: 0 / 0.9412 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.2403, allocations: 11.92 kB / 0.9412 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.2404, allocations: 4 kB / 0.9412 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2404, allocations: 0 / 0.9412 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2404, allocations: 0 / 0.9412 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2404, allocations: 0 / 0.9412 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.241, allocations: 232.3 kB / 0.9414 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.2411, allocations: 140.2 kB / 0.9416 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.2412, allocations: 0 / 0.9416 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.2414, allocations: 19.98 kB / 0.9416 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.2415, allocations: 11.97 kB / 0.9416 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.2416, allocations: 12 kB / 0.9416 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007178/0.2423, allocations: 455 kB / 0.942 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2423, allocations: 4 kB / 0.942 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004704/0.2428, allocations: 63.98 kB / 0.9421 GB, free: 13.14 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 (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.001302/0.2441, allocations: 474.1 kB / 0.9425 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005843/0.2447, allocations: 151.9 kB / 0.9427 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.2448, allocations: 4 kB / 0.9427 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.245, allocations: 56.03 kB / 0.9427 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/0.2458, allocations: 96.03 kB / 0.9428 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.2474, allocations: 0.9261 MB / 0.9437 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.2478, allocations: 0.8593 MB / 0.9446 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000243/0.2481, allocations: 46.27 kB / 0.9446 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.2482, allocations: 27.42 kB / 0.9447 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of SimCode: time 9.82e-07/0.2482, allocations: 0 / 0.9447 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of Templates: time 0.01656/0.2648, allocations: 3.828 MB / 0.9484 GB, free: 6.797 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)