Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.734/1.734, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.001639/0.001639, allocations: 171.5 kB / 393.1 MB, free: 4.074 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.364/1.364, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007628/0.0007626, allocations: 93.23 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 12 kB / 0.9224 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6202/0.6206, allocations: 121.3 MB / 1.041 GB, free: 58.27 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01246/0.6331, allocations: 14.07 MB / 1.055 GB, free: 47.97 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005538/0.6387, allocations: 5.325 MB / 1.06 GB, free: 43.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006962/0.6394, allocations: 17.69 kB / 1.06 GB, free: 43.26 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.6401, allocations: 165.1 kB / 1.06 GB, free: 43.17 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.6417, allocations: 0.5417 MB / 1.061 GB, free: 42.85 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009888/0.6427, allocations: 350.2 kB / 1.061 GB, free: 42.66 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.6446, allocations: 1.444 MB / 1.062 GB, free: 42.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004839/0.6451, allocations: 259.4 kB / 1.062 GB, free: 42.04 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005201/0.6456, allocations: 317.2 kB / 1.063 GB, free: 41.91 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003941/0.646, allocations: 300.8 kB / 1.063 GB, free: 41.79 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.877e-05/0.6461, allocations: 13.22 kB / 1.063 GB, free: 41.79 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006242/0.6467, allocations: 226.6 kB / 1.063 GB, free: 41.71 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.6468, allocations: 66.69 kB / 1.063 GB, free: 41.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.647, allocations: 218.8 kB / 1.064 GB, free: 41.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007057/0.6477, allocations: 0.5662 MB / 1.064 GB, free: 41.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6477, allocations: 0 / 1.064 GB, free: 41.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6477, allocations: 0 / 1.064 GB, free: 41.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.6477, allocations: 0 / 1.064 GB, free: 41.36 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.0009952/0.6487, allocations: 0.6726 MB / 1.065 GB, free: 40.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.6488, allocations: 8.906 kB / 1.065 GB, free: 40.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.649, allocations: 51.45 kB / 1.065 GB, free: 40.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.6496, allocations: 464.5 kB / 1.065 GB, free: 40.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.6497, allocations: 24.78 kB / 1.065 GB, free: 40.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.6497, allocations: 34.92 kB / 1.065 GB, free: 40.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.6503, allocations: 310.6 kB / 1.066 GB, free: 40.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.6503, allocations: 2.875 kB / 1.066 GB, free: 40.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.6504, allocations: 11.19 kB / 1.066 GB, free: 40.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.6504, allocations: 7.453 kB / 1.066 GB, free: 40.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.6508, allocations: 207.7 kB / 1.066 GB, free: 40.18 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.001625/0.6525, allocations: 1.483 MB / 1.067 GB, free: 38.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.653, allocations: 167.9 kB / 1.067 GB, free: 38.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.6532, allocations: 71.06 kB / 1.068 GB, free: 38.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.6533, allocations: 89.92 kB / 1.068 GB, free: 38.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.6536, allocations: 137.5 kB / 1.068 GB, free: 38.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.6536, allocations: 0 / 1.068 GB, free: 38.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0006101/0.6543, allocations: 250.5 kB / 1.068 GB, free: 38.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.6543, allocations: 57.67 kB / 1.068 GB, free: 38.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.6546, allocations: 328.9 kB / 1.068 GB, free: 38.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.6547, allocations: 29.7 kB / 1.068 GB, free: 38.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.6548, allocations: 217.1 kB / 1.069 GB, free: 38.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.6548, allocations: 54.39 kB / 1.069 GB, free: 38.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.6549, allocations: 11.03 kB / 1.069 GB, free: 38.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.6549, allocations: 338.3 kB / 1.069 GB, free: 37.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.6551, allocations: 75.94 kB / 1.069 GB, free: 37.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.6554, allocations: 153.9 kB / 1.069 GB, free: 37.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.6558, allocations: 259.5 kB / 1.069 GB, free: 37.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6558, allocations: 0 / 1.069 GB, free: 37.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000539/0.6563, allocations: 322.6 kB / 1.07 GB, free: 37.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.6564, allocations: 35.92 kB / 1.07 GB, free: 37.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.6564, allocations: 7.156 kB / 1.07 GB, free: 37.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.6564, allocations: 6.75 kB / 1.07 GB, free: 37.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.6566, allocations: 62.12 kB / 1.07 GB, free: 37.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.6566, allocations: 3.5 kB / 1.07 GB, free: 37.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.6569, allocations: 38.5 kB / 1.07 GB, free: 37.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.657, allocations: 14.78 kB / 1.07 GB, free: 37.25 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.0001527/0.6571, allocations: 156.6 kB / 1.07 GB, free: 37.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.6572, allocations: 36.47 kB / 1.07 GB, free: 37.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.6577, allocations: 212.4 kB / 1.07 GB, free: 36.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6577, allocations: 3.938 kB / 1.07 GB, free: 36.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6577, allocations: 0 / 1.07 GB, free: 36.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003928/0.6581, allocations: 0.4884 MB / 1.071 GB, free: 36.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.6585, allocations: 348.4 kB / 1.071 GB, free: 36.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6585, allocations: 3.938 kB / 1.071 GB, free: 36.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.6586, allocations: 36.19 kB / 1.071 GB, free: 36.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.6586, allocations: 3.219 kB / 1.071 GB, free: 36.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.6587, allocations: 4 kB / 1.071 GB, free: 36.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.6587, allocations: 7.156 kB / 1.071 GB, free: 36.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6587, allocations: 4 kB / 1.071 GB, free: 36.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.6592, allocations: 292.1 kB / 1.071 GB, free: 36.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.6594, allocations: 126.4 kB / 1.072 GB, free: 35.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.6594, allocations: 6.969 kB / 1.072 GB, free: 35.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.6597, allocations: 30.05 kB / 1.072 GB, free: 35.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.603e-05/0.6597, allocations: 15.8 kB / 1.072 GB, free: 35.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.6598, allocations: 10.02 kB / 1.072 GB, free: 35.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002078/0.66, allocations: 235.4 kB / 1.072 GB, free: 35.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.66, allocations: 4 kB / 1.072 GB, free: 35.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004159/0.6604, allocations: 113.6 kB / 1.072 GB, free: 35.81 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.0003168/0.6607, allocations: 188.1 kB / 1.072 GB, free: 35.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004547/0.6612, allocations: 232.2 kB / 1.072 GB, free: 35.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6612, allocations: 0 / 1.072 GB, free: 35.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.6614, allocations: 80.59 kB / 1.072 GB, free: 35.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009094/0.6623, allocations: 214.6 kB / 1.073 GB, free: 35.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.6636, allocations: 0.9165 MB / 1.074 GB, free: 34.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.6638, allocations: 0.7914 MB / 1.074 GB, free: 34.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002713/0.6641, allocations: 63.23 kB / 1.074 GB, free: 34.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.6642, allocations: 33.22 kB / 1.074 GB, free: 34.2 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/0.6642, allocations: 0 / 1.074 GB, free: 34.2 MB / 0.698 GB Notification: Performance of Templates: time 0.0106/0.6748, allocations: 6.53 MB / 1.081 GB, free: 33.68 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)