Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 297.4 MB / 312.6 MB, free: 2.91 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.00137/0.00137, allocations: 189.5 kB / 382.3 MB, free: 14.83 MB / 314.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.398/1.398, allocations: 225.7 MB / 0.6617 GB, free: 7.238 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.0009273/0.0009274, allocations: 91.86 kB / 0.7789 GB, free: 46.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003823, allocations: 12.75 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.5713, allocations: 119.2 MB / 1.022 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0117/0.5831, allocations: 14.08 MB / 1.036 GB, free: 48.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004596/0.5877, allocations: 5.319 MB / 1.041 GB, free: 43.39 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.5883, allocations: 14.62 kB / 1.041 GB, free: 43.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.5889, allocations: 163.9 kB / 1.041 GB, free: 43.3 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.5901, allocations: 0.5404 MB / 1.042 GB, free: 42.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.5909, allocations: 351.2 kB / 1.042 GB, free: 42.79 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.5921, allocations: 1.44 MB / 1.044 GB, free: 42.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.5925, allocations: 260.9 kB / 1.044 GB, free: 42.17 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.5929, allocations: 322 kB / 1.044 GB, free: 42.04 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.5932, allocations: 295.2 kB / 1.044 GB, free: 41.92 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.5932, allocations: 15.75 kB / 1.044 GB, free: 41.92 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.5937, allocations: 225.5 kB / 1.045 GB, free: 41.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.5938, allocations: 71.25 kB / 1.045 GB, free: 41.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.594, allocations: 215.2 kB / 1.045 GB, free: 41.67 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.5946, allocations: 0.5622 MB / 1.046 GB, free: 41.49 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5946, allocations: 0 / 1.046 GB, free: 41.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5946, allocations: 0.9375 kB / 1.046 GB, free: 41.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.5946, allocations: 4 kB / 1.046 GB, free: 41.49 MB / 0.698 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.000914/0.5955, allocations: 0.672 MB / 1.046 GB, free: 40.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5956, allocations: 12.69 kB / 1.046 GB, free: 40.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.5957, allocations: 42.72 kB / 1.046 GB, free: 40.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.5964, allocations: 474.5 kB / 1.047 GB, free: 40.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.5964, allocations: 23.47 kB / 1.047 GB, free: 40.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.5965, allocations: 26.95 kB / 1.047 GB, free: 40.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.597, allocations: 317.9 kB / 1.047 GB, free: 40.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.597, allocations: 0 / 1.047 GB, free: 40.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.5971, allocations: 7.281 kB / 1.047 GB, free: 40.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.5971, allocations: 11.59 kB / 1.047 GB, free: 40.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.5976, allocations: 202.5 kB / 1.047 GB, free: 40.31 MB / 0.698 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.001415/0.599, allocations: 1.483 MB / 1.049 GB, free: 39.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.5994, allocations: 169.2 kB / 1.049 GB, free: 39.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.5995, allocations: 81.59 kB / 1.049 GB, free: 39.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.5997, allocations: 84.84 kB / 1.049 GB, free: 38.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.6, allocations: 138.5 kB / 1.049 GB, free: 38.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.6, allocations: 0 / 1.049 GB, free: 38.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0005662/0.6005, allocations: 245.9 kB / 1.049 GB, free: 38.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.6006, allocations: 60.28 kB / 1.049 GB, free: 38.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.6009, allocations: 330.6 kB / 1.05 GB, free: 38.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.6009, allocations: 32.08 kB / 1.05 GB, free: 38.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.601, allocations: 213.2 kB / 1.05 GB, free: 38.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.6011, allocations: 47.38 kB / 1.05 GB, free: 38.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.6011, allocations: 6.375 kB / 1.05 GB, free: 38.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.6011, allocations: 345.6 kB / 1.05 GB, free: 37.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.6013, allocations: 77.17 kB / 1.05 GB, free: 37.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.6015, allocations: 153.2 kB / 1.051 GB, free: 37.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.6019, allocations: 253.4 kB / 1.051 GB, free: 37.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6019, allocations: 1.5 kB / 1.051 GB, free: 37.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005129/0.6024, allocations: 323.2 kB / 1.051 GB, free: 37.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.6025, allocations: 40.36 kB / 1.051 GB, free: 37.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.6025, allocations: 3.578 kB / 1.051 GB, free: 37.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.6025, allocations: 7.688 kB / 1.051 GB, free: 37.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.6028, allocations: 57.39 kB / 1.051 GB, free: 37.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.6028, allocations: 4.344 kB / 1.051 GB, free: 37.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.603, allocations: 40.77 kB / 1.051 GB, free: 37.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.6031, allocations: 21.48 kB / 1.051 GB, free: 37.38 MB / 0.698 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.0001254/0.6032, allocations: 155.1 kB / 1.051 GB, free: 37.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.6032, allocations: 33.91 kB / 1.052 GB, free: 37.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/0.6036, allocations: 206.4 kB / 1.052 GB, free: 37.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.6037, allocations: 6.094 kB / 1.052 GB, free: 37.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.6037, allocations: 0 / 1.052 GB, free: 37.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003621/0.604, allocations: 495.9 kB / 1.052 GB, free: 36.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.6044, allocations: 349.9 kB / 1.053 GB, free: 36.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6044, allocations: 4 kB / 1.053 GB, free: 36.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.6046, allocations: 42.47 kB / 1.053 GB, free: 36.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6046, allocations: 0.9844 kB / 1.053 GB, free: 36.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.6046, allocations: 5.859 kB / 1.053 GB, free: 36.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6046, allocations: 3.938 kB / 1.053 GB, free: 36.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6046, allocations: 3.406 kB / 1.053 GB, free: 36.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.6051, allocations: 298.5 kB / 1.053 GB, free: 36.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.6053, allocations: 125.2 kB / 1.053 GB, free: 36.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.6053, allocations: 5.609 kB / 1.053 GB, free: 36.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.6055, allocations: 30.64 kB / 1.053 GB, free: 36.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.6056, allocations: 18.08 kB / 1.053 GB, free: 36.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.6056, allocations: 9.703 kB / 1.053 GB, free: 36.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001933/0.6058, allocations: 232.1 kB / 1.053 GB, free: 35.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6058, allocations: 3.938 kB / 1.053 GB, free: 35.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003984/0.6062, allocations: 119.1 kB / 1.053 GB, free: 35.94 MB / 0.698 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.0002938/0.6065, allocations: 189.8 kB / 1.054 GB, free: 35.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.607, allocations: 239.3 kB / 1.054 GB, free: 35.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.607, allocations: 0 / 1.054 GB, free: 35.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.6072, allocations: 83.28 kB / 1.054 GB, free: 35.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008421/0.6081, allocations: 207.4 kB / 1.054 GB, free: 35.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.6092, allocations: 0.9208 MB / 1.055 GB, free: 35.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.6094, allocations: 0.7884 MB / 1.056 GB, free: 34.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002537/0.6097, allocations: 57.05 kB / 1.056 GB, free: 34.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.711e-05/0.6098, allocations: 37.38 kB / 1.056 GB, free: 34.33 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.6098, allocations: 0 / 1.056 GB, free: 34.33 MB / 0.698 GB Notification: Performance of Templates: time 0.009895/0.6197, allocations: 6.527 MB / 1.062 GB, free: 33.84 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)