Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 212.9 kB / 23.02 MB, free: 2.949 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.73/1.73, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.4/3.4, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.007693/0.007693, allocations: 67.89 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9718/0.9795, allocations: 180 MB / 1.353 GB, free: 1.613 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01941/0.999, allocations: 13.51 MB / 1.366 GB, free: 4.043 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.006836/1.006, allocations: 3.394 MB / 1.369 GB, free: 0.6406 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/1.006, allocations: 27.81 kB / 1.369 GB, free: 0.6133 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000792/1.007, allocations: 202.7 kB / 1.37 GB, free: 424 kB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.001891/1.009, allocations: 0.6252 MB / 1.37 GB, free: 15.79 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/1.01, allocations: 408.3 kB / 1.371 GB, free: 15.39 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.001911/1.012, allocations: 1.112 MB / 1.372 GB, free: 14.28 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/1.013, allocations: 255.5 kB / 1.372 GB, free: 14.02 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/1.014, allocations: 452.9 kB / 1.372 GB, free: 13.58 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005344/1.014, allocations: 310.6 kB / 1.373 GB, free: 13.28 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 8.11e-05/1.015, allocations: 32 kB / 1.373 GB, free: 13.25 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006489/1.015, allocations: 215.5 kB / 1.373 GB, free: 13.04 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/1.015, allocations: 99.59 kB / 1.373 GB, free: 12.94 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0002546/1.016, allocations: 175.2 kB / 1.373 GB, free: 12.77 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/1.017, allocations: 0.6072 MB / 1.374 GB, free: 12.16 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.017, allocations: 0 / 1.374 GB, free: 12.16 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.863e-06/1.017, allocations: 0 / 1.374 GB, free: 12.16 MB / 1.057 GB Notification: Performance of Transformations before backend: time 8.626e-06/1.017, allocations: 4 kB / 1.374 GB, free: 12.15 MB / 1.057 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.00141/1.018, allocations: 0.6893 MB / 1.374 GB, free: 11.43 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.018, allocations: 8.922 kB / 1.374 GB, free: 11.42 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/1.018, allocations: 56.64 kB / 1.374 GB, free: 11.36 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/1.019, allocations: 412.7 kB / 1.375 GB, free: 10.93 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/1.019, allocations: 20.86 kB / 1.375 GB, free: 10.91 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/1.019, allocations: 31.94 kB / 1.375 GB, free: 10.88 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007788/1.02, allocations: 408.1 kB / 1.375 GB, free: 10.44 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.02, allocations: 3.938 kB / 1.375 GB, free: 10.44 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/1.02, allocations: 12 kB / 1.375 GB, free: 10.43 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/1.02, allocations: 12 kB / 1.375 GB, free: 10.41 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/1.021, allocations: 189.8 kB / 1.376 GB, free: 10.23 MB / 1.057 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.001933/1.023, allocations: 1.092 MB / 1.377 GB, free: 9.082 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/1.023, allocations: 158.5 kB / 1.377 GB, free: 8.918 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/1.023, allocations: 64.81 kB / 1.377 GB, free: 8.852 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/1.023, allocations: 4 kB / 1.377 GB, free: 8.848 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004317/1.024, allocations: 240.3 kB / 1.377 GB, free: 8.578 MB / 1.057 GB Notification: Performance of pre-optimization done (n=15): time 2.394e-06/1.024, allocations: 0 / 1.377 GB, free: 8.578 MB / 1.057 GB Notification: Performance of matching and sorting (n=15): time 0.0007234/1.025, allocations: 237.3 kB / 1.377 GB, free: 8.34 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/1.025, allocations: 51.41 kB / 1.377 GB, free: 8.277 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004423/1.025, allocations: 336.4 kB / 1.378 GB, free: 7.945 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/1.025, allocations: 29.7 kB / 1.378 GB, free: 7.91 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/1.025, allocations: 220.4 kB / 1.378 GB, free: 7.688 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/1.025, allocations: 55.53 kB / 1.378 GB, free: 7.633 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.025, allocations: 53.64 kB / 1.378 GB, free: 7.574 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.026, allocations: 338.8 kB / 1.378 GB, free: 7.234 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/1.026, allocations: 109.7 kB / 1.378 GB, free: 7.121 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/1.026, allocations: 168.8 kB / 1.379 GB, free: 6.918 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/1.027, allocations: 252.6 kB / 1.379 GB, free: 6.633 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.027, allocations: 0 / 1.379 GB, free: 6.633 MB / 1.057 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006825/1.027, allocations: 334.5 kB / 1.379 GB, free: 6.289 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/1.027, allocations: 41.7 kB / 1.379 GB, free: 6.242 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.027, allocations: 4 kB / 1.379 GB, free: 6.238 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/1.027, allocations: 4 kB / 1.379 GB, free: 6.234 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/1.028, allocations: 55.91 kB / 1.379 GB, free: 6.18 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.028, allocations: 11.88 kB / 1.379 GB, free: 6.168 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/1.028, allocations: 31.83 kB / 1.379 GB, free: 6.137 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/1.028, allocations: 15.98 kB / 1.379 GB, free: 6.121 MB / 1.057 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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.0002169/1.028, allocations: 162.2 kB / 1.379 GB, free: 5.953 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/1.028, allocations: 31.81 kB / 1.379 GB, free: 5.922 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004957/1.029, allocations: 195.2 kB / 1.38 GB, free: 5.727 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.029, allocations: 4 kB / 1.38 GB, free: 5.723 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.029, allocations: 3.938 kB / 1.38 GB, free: 5.719 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006007/1.029, allocations: 487.7 kB / 1.38 GB, free: 5.156 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/1.03, allocations: 241.1 kB / 1.38 GB, free: 4.891 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.03, allocations: 4 kB / 1.38 GB, free: 4.887 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/1.03, allocations: 31.97 kB / 1.38 GB, free: 4.855 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.03, allocations: 4 kB / 1.38 GB, free: 4.852 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/1.03, allocations: 4 kB / 1.38 GB, free: 4.848 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.03, allocations: 0 / 1.38 GB, free: 4.848 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.03, allocations: 0 / 1.38 GB, free: 4.848 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/1.031, allocations: 300.5 kB / 1.381 GB, free: 4.535 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/1.031, allocations: 39.84 kB / 1.381 GB, free: 4.496 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/1.031, allocations: 15.98 kB / 1.381 GB, free: 4.48 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/1.031, allocations: 15.98 kB / 1.381 GB, free: 4.465 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/1.031, allocations: 15.97 kB / 1.381 GB, free: 4.449 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/1.031, allocations: 11.94 kB / 1.381 GB, free: 4.438 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002776/1.031, allocations: 231 kB / 1.381 GB, free: 4.211 MB / 1.057 GB Notification: Performance of sort global known variables: time 7.1e-08/1.031, allocations: 0 / 1.381 GB, free: 4.211 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0006377/1.032, allocations: 131.6 kB / 1.381 GB, free: 4.082 MB / 1.057 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.0003686/1.032, allocations: 190.9 kB / 1.381 GB, free: 3.887 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0005884/1.033, allocations: 249 kB / 1.382 GB, free: 3.625 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.033, allocations: 4 kB / 1.382 GB, free: 3.621 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/1.033, allocations: 66.42 kB / 1.382 GB, free: 3.559 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009012/1.034, allocations: 196.2 kB / 1.382 GB, free: 3.379 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/1.036, allocations: 0.7434 MB / 1.383 GB, free: 2.609 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/1.036, allocations: 189.1 kB / 1.383 GB, free: 2.406 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002469/1.036, allocations: 59.2 kB / 1.383 GB, free: 2.352 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/1.037, allocations: 39.42 kB / 1.383 GB, free: 2.312 MB / 1.057 GB Notification: Performance of SimCode: time 4.81e-07/1.037, allocations: 0 / 1.383 GB, free: 2.312 MB / 1.057 GB Notification: Performance of Templates: time 0.01559/1.052, allocations: 7.673 MB / 1.39 GB, free: 10.82 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.682972533628345]