Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.239/2.239, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001412/0.001412, allocations: 192.7 kB / 329.5 MB, free: 1.172 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.681/2.681, allocations: 225.6 MB / 0.6001 GB, free: 2.168 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.001033/0.001033, allocations: 104.4 kB / 0.7074 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004862, allocations: 15.97 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2023, allocations: 109.1 MB / 0.9308 GB, free: 25.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01773/0.2201, allocations: 13.2 MB / 0.9436 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006268/0.2264, allocations: 3.374 MB / 0.9469 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000767/0.2272, allocations: 15.88 kB / 0.947 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007841/0.228, allocations: 147.1 kB / 0.9471 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.2299, allocations: 481.5 kB / 0.9476 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2312, allocations: 271.4 kB / 0.9478 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002011/0.2332, allocations: 1.231 MB / 0.949 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006016/0.2339, allocations: 254 kB / 0.9493 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007478/0.2346, allocations: 310.7 kB / 0.9496 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005431/0.2352, allocations: 278.8 kB / 0.9498 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.971e-05/0.2353, allocations: 12 kB / 0.9498 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000701/0.236, allocations: 159.6 kB / 0.95 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2361, allocations: 63.73 kB / 0.95 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.2363, allocations: 97.52 kB / 0.9501 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006787/0.2369, allocations: 427.1 kB / 0.9505 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.237, allocations: 0 / 0.9505 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.394e-06/0.237, allocations: 4 kB / 0.9505 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.237, allocations: 0 / 0.9505 GB, free: 4.816 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001384/0.2384, allocations: 0.668 MB / 0.9512 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2384, allocations: 12.02 kB / 0.9512 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.2387, allocations: 44.47 kB / 0.9513 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2397, allocations: 475.3 kB / 0.9517 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.2398, allocations: 20.69 kB / 0.9517 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/0.2399, allocations: 28 kB / 0.9518 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007963/0.2407, allocations: 310.2 kB / 0.952 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.2407, allocations: 0 / 0.952 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.2408, allocations: 12 kB / 0.9521 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.2408, allocations: 8 kB / 0.9521 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/0.2415, allocations: 206.1 kB / 0.9523 GB, free: 2.949 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.2439, allocations: 1.489 MB / 0.9537 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.2446, allocations: 162.6 kB / 0.9539 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.2449, allocations: 72.83 kB / 0.9539 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.2451, allocations: 85.09 kB / 0.954 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004052/0.2455, allocations: 135.3 kB / 0.9542 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 3.045e-06/0.2456, allocations: 0 / 0.9542 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0009834/0.2465, allocations: 253 kB / 0.9544 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2466, allocations: 55.41 kB / 0.9544 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.2471, allocations: 329.6 kB / 0.9548 GB, free: 196 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.2472, allocations: 29.7 kB / 0.9548 GB, free: 160 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.2474, allocations: 215.8 kB / 0.955 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.2475, allocations: 51.3 kB / 0.955 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.2475, allocations: 4 kB / 0.955 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2477, allocations: 342.8 kB / 0.9554 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.2481, allocations: 79.95 kB / 0.9555 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.2485, allocations: 150.1 kB / 0.9556 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.2489, allocations: 113.7 kB / 0.9557 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.249, allocations: 4 kB / 0.9557 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001064/0.25, allocations: 326.7 kB / 0.956 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.2501, allocations: 33.7 kB / 0.9561 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.2501, allocations: 0 / 0.9561 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.2502, allocations: 7.938 kB / 0.9561 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.2506, allocations: 63.91 kB / 0.9561 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.2507, allocations: 3.984 kB / 0.9561 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005853/0.2512, allocations: 43.92 kB / 0.9562 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.2513, allocations: 8 kB / 0.9562 GB, free: 14.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0003026/0.2516, allocations: 157.7 kB / 0.9563 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.098e-05/0.2517, allocations: 35.61 kB / 0.9564 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007949/0.2525, allocations: 204.4 kB / 0.9566 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.2526, allocations: 7.938 kB / 0.9566 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2526, allocations: 0 / 0.9566 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008096/0.2534, allocations: 499.7 kB / 0.957 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.2542, allocations: 349.2 kB / 0.9574 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.2543, allocations: 4 kB / 0.9574 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.2546, allocations: 35.92 kB / 0.9574 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.2546, allocations: 0 / 0.9574 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.2547, allocations: 4 kB / 0.9574 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.2547, allocations: 3.938 kB / 0.9574 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.2547, allocations: 4 kB / 0.9574 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.2558, allocations: 296.6 kB / 0.9577 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.2561, allocations: 128.7 kB / 0.9578 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.2562, allocations: 7.984 kB / 0.9578 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.2566, allocations: 19.92 kB / 0.9579 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2568, allocations: 23.91 kB / 0.9579 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.2568, allocations: 4 kB / 0.9579 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003883/0.2572, allocations: 235.2 kB / 0.9581 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2572, allocations: 0 / 0.9581 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006215/0.2579, allocations: 120 kB / 0.9582 GB, free: 12.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.0004088/0.2583, allocations: 179.2 kB / 0.9584 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009013/0.2592, allocations: 246.9 kB / 0.9586 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2592, allocations: 0 / 0.9586 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.2596, allocations: 76.52 kB / 0.9587 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.2614, allocations: 195 kB / 0.9589 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.264, allocations: 0.9561 MB / 0.9598 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.2645, allocations: 0.7882 MB / 0.9606 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005153/0.2651, allocations: 63.25 kB / 0.9606 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.2652, allocations: 31.44 kB / 0.9607 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of SimCode: time 1.863e-06/0.2652, allocations: 0 / 0.9607 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of Templates: time 0.02043/0.2857, allocations: 6.266 MB / 0.9668 GB, free: 3.613 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)