Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002441/0.002441, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.441/1.441, allocations: 165.8 MB / 182.5 MB, free: 5.449 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.147/4.147, allocations: 410.7 MB / 0.5995 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001725/0.001725, allocations: 191.4 kB / 0.6662 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004958, allocations: 12 kB / 0.7423 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3693, allocations: 67.44 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01461/0.3839, allocations: 13.17 MB / 0.821 GB, free: 15.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005086/0.3891, allocations: 3.337 MB / 0.8243 GB, free: 12.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005969/0.3897, allocations: 15.88 kB / 0.8243 GB, free: 12.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.3904, allocations: 186.8 kB / 0.8245 GB, free: 12.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.3923, allocations: 0.6021 MB / 0.825 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.394, allocations: 464.7 kB / 0.8255 GB, free: 10.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.3955, allocations: 1.239 MB / 0.8267 GB, free: 9.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.3959, allocations: 240 kB / 0.8269 GB, free: 9.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.3963, allocations: 306.7 kB / 0.8272 GB, free: 9.184 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.3967, allocations: 278.8 kB / 0.8275 GB, free: 8.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.3968, allocations: 16 kB / 0.8275 GB, free: 8.895 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.3973, allocations: 143.6 kB / 0.8276 GB, free: 8.754 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.3974, allocations: 75.66 kB / 0.8277 GB, free: 8.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.3975, allocations: 105.5 kB / 0.8278 GB, free: 8.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.3981, allocations: 422.9 kB / 0.8282 GB, free: 8.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.245e-06/0.3981, allocations: 0 / 0.8282 GB, free: 8.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.28e-06/0.3981, allocations: 0 / 0.8282 GB, free: 8.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.97e-06/0.3981, allocations: 3.938 kB / 0.8282 GB, free: 8.152 MB / 378.7 MB 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.001014/0.3991, allocations: 0.6716 MB / 0.8289 GB, free: 7.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3992, allocations: 16.03 kB / 0.8289 GB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.3994, allocations: 43.53 kB / 0.8289 GB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007891/0.4002, allocations: 458 kB / 0.8294 GB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.4003, allocations: 16.56 kB / 0.8294 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.4003, allocations: 31.91 kB / 0.8294 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.401, allocations: 314.2 kB / 0.8297 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.401, allocations: 0 / 0.8297 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.4011, allocations: 15.95 kB / 0.8297 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.4011, allocations: 8 kB / 0.8297 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.4017, allocations: 210 kB / 0.8299 GB, free: 6.277 MB / 378.7 MB 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.001908/0.4036, allocations: 1.477 MB / 0.8314 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.4042, allocations: 174.6 kB / 0.8315 GB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.4044, allocations: 72.72 kB / 0.8316 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.4046, allocations: 89.09 kB / 0.8317 GB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.4049, allocations: 127.3 kB / 0.8318 GB, free: 4.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 4.071e-06/0.4049, allocations: 4 kB / 0.8318 GB, free: 4.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007412/0.4057, allocations: 249.1 kB / 0.8321 GB, free: 3.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.4057, allocations: 59.41 kB / 0.8321 GB, free: 3.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.4061, allocations: 329.6 kB / 0.8324 GB, free: 3.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.4062, allocations: 25.7 kB / 0.8325 GB, free: 3.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.4063, allocations: 219.7 kB / 0.8327 GB, free: 3.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.4064, allocations: 51.27 kB / 0.8327 GB, free: 3.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.4064, allocations: 4 kB / 0.8327 GB, free: 3.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.4065, allocations: 350.8 kB / 0.8331 GB, free: 2.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.4068, allocations: 67.95 kB / 0.8331 GB, free: 2.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.407, allocations: 165.3 kB / 0.8333 GB, free: 2.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.4073, allocations: 119.3 kB / 0.8334 GB, free: 2.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.764e-06/0.4073, allocations: 4 kB / 0.8334 GB, free: 2.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007278/0.4081, allocations: 322.6 kB / 0.8337 GB, free: 2.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.4081, allocations: 33.7 kB / 0.8337 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.4082, allocations: 0 / 0.8337 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4082, allocations: 4 kB / 0.8337 GB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.4085, allocations: 60.22 kB / 0.8338 GB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4085, allocations: 7.984 kB / 0.8338 GB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.4089, allocations: 39.77 kB / 0.8338 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.4089, allocations: 12 kB / 0.8338 GB, free: 1.992 MB / 378.7 MB 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.0001933/0.4091, allocations: 161.3 kB / 0.834 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.4092, allocations: 35.58 kB / 0.834 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/0.4098, allocations: 215.5 kB / 0.8342 GB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.775e-06/0.4098, allocations: 4 kB / 0.8342 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.736e-06/0.4098, allocations: 3.984 kB / 0.8343 GB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004933/0.4103, allocations: 491.7 kB / 0.8347 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.4108, allocations: 353.4 kB / 0.8351 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.602e-06/0.4108, allocations: 0 / 0.8351 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.4111, allocations: 35.92 kB / 0.8351 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.817e-06/0.4111, allocations: 3.953 kB / 0.8351 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.4111, allocations: 7.922 kB / 0.8351 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.787e-06/0.4112, allocations: 8 kB / 0.8351 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.902e-06/0.4112, allocations: 0 / 0.8351 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007864/0.412, allocations: 292.6 kB / 0.8354 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.4122, allocations: 132.7 kB / 0.8355 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.4122, allocations: 7.953 kB / 0.8355 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.4126, allocations: 23.89 kB / 0.8355 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.4127, allocations: 19.97 kB / 0.8356 GB, free: 52 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.4127, allocations: 7.984 kB / 0.8356 GB, free: 44 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003524/0.4131, allocations: 231.3 kB / 0.8358 GB, free: 15.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.95e-07/0.4131, allocations: 0 / 0.8358 GB, free: 15.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005702/0.4137, allocations: 120 kB / 0.8359 GB, free: 15.7 MB / 394.7 MB 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.0003515/0.4141, allocations: 171.1 kB / 0.8361 GB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006751/0.4148, allocations: 237.9 kB / 0.8363 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.511e-06/0.4148, allocations: 0.625 kB / 0.8363 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.415, allocations: 75.91 kB / 0.8364 GB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.4163, allocations: 211.5 kB / 0.8366 GB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.4183, allocations: 0.9442 MB / 0.8375 GB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.4189, allocations: 0.7962 MB / 0.8383 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.4193, allocations: 67.14 kB / 0.8383 GB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4194, allocations: 43.42 kB / 0.8384 GB, free: 13.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.608e-06/0.4194, allocations: 0 / 0.8384 GB, free: 13.11 MB / 394.7 MB Notification: Performance of Templates: time 0.01684/0.4363, allocations: 6.314 MB / 0.8445 GB, free: 6.879 MB / 394.7 MB