Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") 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.432/1.432, allocations: 255.9 MB / 271.2 MB, free: 8.934 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.001004/0.001003, allocations: 185.2 kB / 330.8 MB, free: 500 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.607/1.607, allocations: 225.7 MB / 0.6016 GB, free: 1.656 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.0007639/0.000764, allocations: 95.61 kB / 0.709 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 15.98 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1641, allocations: 109.2 MB / 0.9327 GB, free: 6.309 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01463/0.1788, allocations: 14.07 MB / 0.9465 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006146/0.185, allocations: 5.321 MB / 0.9517 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006004/0.1856, allocations: 11.94 kB / 0.9517 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007259/0.1864, allocations: 171.1 kB / 0.9519 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.1882, allocations: 0.5444 MB / 0.9524 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1893, allocations: 319.4 kB / 0.9527 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001834/0.1912, allocations: 1.446 MB / 0.9541 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005768/0.1917, allocations: 255.7 kB / 0.9543 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.1925, allocations: 314.5 kB / 0.9546 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000602/0.1931, allocations: 302.6 kB / 0.9549 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.67e-05/0.1932, allocations: 12 kB / 0.9549 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006816/0.1938, allocations: 223.4 kB / 0.9552 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.194, allocations: 71.67 kB / 0.9552 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.1943, allocations: 208.7 kB / 0.9554 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008996/0.1952, allocations: 0.5609 MB / 0.956 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1952, allocations: 0 / 0.956 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1952, allocations: 0 / 0.956 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.1952, allocations: 0 / 0.956 GB, free: 13.81 MB / 0.6042 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.001318/0.1965, allocations: 0.6718 MB / 0.9566 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1966, allocations: 15.92 kB / 0.9566 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.1968, allocations: 52.45 kB / 0.9567 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/0.1977, allocations: 467.2 kB / 0.9571 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.1978, allocations: 28.67 kB / 0.9572 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.1978, allocations: 24 kB / 0.9572 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006808/0.1985, allocations: 306.2 kB / 0.9575 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.1985, allocations: 4 kB / 0.9575 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.048e-05/0.1986, allocations: 15.98 kB / 0.9575 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.1986, allocations: 8 kB / 0.9575 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.1992, allocations: 202.1 kB / 0.9577 GB, free: 11.93 MB / 0.6042 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.001969/0.2012, allocations: 1.481 MB / 0.9591 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.2017, allocations: 166.6 kB / 0.9593 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.2019, allocations: 76.83 kB / 0.9594 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.202, allocations: 85.09 kB / 0.9595 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.2023, allocations: 127.3 kB / 0.9596 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.727e-06/0.2024, allocations: 4 kB / 0.9596 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006733/0.203, allocations: 253 kB / 0.9598 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2031, allocations: 59.39 kB / 0.9599 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.2034, allocations: 333.6 kB / 0.9602 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.2035, allocations: 29.7 kB / 0.9602 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.2037, allocations: 215.7 kB / 0.9604 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.2037, allocations: 51.3 kB / 0.9605 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.2037, allocations: 4 kB / 0.9605 GB, free: 8.863 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2039, allocations: 342.8 kB / 0.9608 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.2041, allocations: 79.95 kB / 0.9609 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.2043, allocations: 142.6 kB / 0.961 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.2048, allocations: 262.1 kB / 0.9613 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.2048, allocations: 4 kB / 0.9613 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005968/0.2054, allocations: 318.7 kB / 0.9616 GB, free: 7.648 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.2055, allocations: 33.7 kB / 0.9616 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2055, allocations: 320 / 0.9616 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2055, allocations: 15.88 kB / 0.9616 GB, free: 7.594 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.2057, allocations: 51.97 kB / 0.9617 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.2057, allocations: 11.92 kB / 0.9617 GB, free: 7.531 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.206, allocations: 39.73 kB / 0.9617 GB, free: 7.492 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.2061, allocations: 12 kB / 0.9617 GB, free: 7.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.2062, allocations: 170.3 kB / 0.9619 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.2063, allocations: 31.62 kB / 0.9619 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.2068, allocations: 196.5 kB / 0.9621 GB, free: 7.066 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2068, allocations: 11.94 kB / 0.9621 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2068, allocations: 0 / 0.9621 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004842/0.2073, allocations: 492.3 kB / 0.9626 GB, free: 6.488 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.2077, allocations: 353.3 kB / 0.9629 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2078, allocations: 0 / 0.9629 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.2079, allocations: 39.98 kB / 0.963 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2079, allocations: 0 / 0.963 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.208, allocations: 0 / 0.963 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.208, allocations: 7.922 kB / 0.963 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.208, allocations: 8 kB / 0.963 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.2086, allocations: 304.5 kB / 0.9633 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.2087, allocations: 128.7 kB / 0.9634 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.2088, allocations: 4 kB / 0.9634 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.209, allocations: 27.92 kB / 0.9634 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.2091, allocations: 15.97 kB / 0.9635 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.2091, allocations: 8 kB / 0.9635 GB, free: 5.523 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002307/0.2094, allocations: 231.2 kB / 0.9637 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2094, allocations: 0 / 0.9637 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003896/0.2098, allocations: 116 kB / 0.9638 GB, free: 5.191 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 (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.0003226/0.2101, allocations: 191.3 kB / 0.964 GB, free: 4.992 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.2106, allocations: 243.4 kB / 0.9642 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2106, allocations: 4 kB / 0.9642 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.2108, allocations: 71.95 kB / 0.9643 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/0.2118, allocations: 196.2 kB / 0.9645 GB, free: 4.473 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.2132, allocations: 0.923 MB / 0.9654 GB, free: 3.527 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.2135, allocations: 0.7999 MB / 0.9661 GB, free: 2.699 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002786/0.2138, allocations: 55.25 kB / 0.9662 GB, free: 2.645 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/0.2139, allocations: 35.42 kB / 0.9662 GB, free: 2.613 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2139, allocations: 3.938 kB / 0.9662 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of Templates: time 0.01169/0.2256, allocations: 6.455 MB / 0.9725 GB, free: 12.25 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)