Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008354/0.008354, allocations: 104.1 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 196.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.6/1.6, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 71.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2638, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01813/0.282, allocations: 14.45 MB / 0.8421 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006255/0.2883, allocations: 3.616 MB / 0.8457 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006992/0.289, allocations: 15.94 kB / 0.8457 GB, free: 14.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007365/0.2898, allocations: 206.6 kB / 0.8459 GB, free: 13.87 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.2918, allocations: 0.5751 MB / 0.8464 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.293, allocations: 369.7 kB / 0.8468 GB, free: 12.93 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.2946, allocations: 1.064 MB / 0.8478 GB, free: 11.86 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004953/0.2951, allocations: 319.8 kB / 0.8481 GB, free: 11.55 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.2962, allocations: 386.5 kB / 0.8485 GB, free: 11.17 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.2966, allocations: 302.7 kB / 0.8488 GB, free: 10.87 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.2967, allocations: 32 kB / 0.8488 GB, free: 10.84 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007018/0.2974, allocations: 259.5 kB / 0.8491 GB, free: 10.59 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.2975, allocations: 95.66 kB / 0.8492 GB, free: 10.49 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.2978, allocations: 211 kB / 0.8494 GB, free: 10.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0009266/0.2987, allocations: 0.5764 MB / 0.8499 GB, free: 9.707 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2988, allocations: 3.938 kB / 0.8499 GB, free: 9.703 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2988, allocations: 0 / 0.8499 GB, free: 9.703 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.2988, allocations: 0 / 0.8499 GB, free: 9.703 MB / 0.67 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.001381/0.3002, allocations: 0.7404 MB / 0.8506 GB, free: 8.91 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3002, allocations: 8.031 kB / 0.8507 GB, free: 8.902 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.3004, allocations: 48.45 kB / 0.8507 GB, free: 8.855 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009098/0.3014, allocations: 447 kB / 0.8511 GB, free: 8.383 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.3014, allocations: 20.94 kB / 0.8511 GB, free: 8.363 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.3015, allocations: 31.94 kB / 0.8512 GB, free: 8.332 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.3021, allocations: 310.2 kB / 0.8515 GB, free: 8.008 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.3021, allocations: 4 kB / 0.8515 GB, free: 8.004 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.3022, allocations: 15.98 kB / 0.8515 GB, free: 7.988 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.3022, allocations: 8 kB / 0.8515 GB, free: 7.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.3027, allocations: 194.1 kB / 0.8517 GB, free: 7.793 MB / 0.67 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.001803/0.3045, allocations: 1.477 MB / 0.8531 GB, free: 6.188 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.305, allocations: 162.6 kB / 0.8533 GB, free: 6.02 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.3052, allocations: 64.81 kB / 0.8533 GB, free: 5.953 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.3053, allocations: 85.11 kB / 0.8534 GB, free: 5.852 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.3057, allocations: 126.4 kB / 0.8535 GB, free: 5.719 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/0.3057, allocations: 7.875 kB / 0.8535 GB, free: 5.711 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.000688/0.3064, allocations: 229.1 kB / 0.8538 GB, free: 5.48 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.3064, allocations: 63.34 kB / 0.8538 GB, free: 5.406 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.3069, allocations: 349.6 kB / 0.8542 GB, free: 5.059 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.008e-05/0.307, allocations: 29.7 kB / 0.8542 GB, free: 5.023 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.3072, allocations: 215.7 kB / 0.8544 GB, free: 4.809 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.3073, allocations: 47.36 kB / 0.8544 GB, free: 4.762 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3074, allocations: 57.61 kB / 0.8545 GB, free: 4.699 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.3075, allocations: 346.8 kB / 0.8548 GB, free: 4.352 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.3078, allocations: 67.95 kB / 0.8549 GB, free: 4.285 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.308, allocations: 149.8 kB / 0.855 GB, free: 4.105 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.3086, allocations: 242.9 kB / 0.8553 GB, free: 3.828 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3086, allocations: 0 / 0.8553 GB, free: 3.828 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006012/0.3092, allocations: 309.6 kB / 0.8556 GB, free: 3.516 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.3093, allocations: 36.67 kB / 0.8556 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3093, allocations: 8 kB / 0.8556 GB, free: 3.469 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3093, allocations: 4 kB / 0.8556 GB, free: 3.465 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.3095, allocations: 59.84 kB / 0.8557 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.3096, allocations: 7.984 kB / 0.8557 GB, free: 3.398 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.3098, allocations: 35.67 kB / 0.8557 GB, free: 3.363 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.3099, allocations: 12 kB / 0.8557 GB, free: 3.352 MB / 0.67 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.0001625/0.31, allocations: 153.8 kB / 0.8559 GB, free: 3.191 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.3101, allocations: 39.61 kB / 0.8559 GB, free: 3.152 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004806/0.3106, allocations: 188.4 kB / 0.8561 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3106, allocations: 11.88 kB / 0.8561 GB, free: 2.941 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3106, allocations: 0 / 0.8561 GB, free: 2.941 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005008/0.3111, allocations: 486.8 kB / 0.8566 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.3116, allocations: 349.4 kB / 0.8569 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3116, allocations: 0 / 0.8569 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.3118, allocations: 39.97 kB / 0.8569 GB, free: 1.953 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3118, allocations: 0 / 0.8569 GB, free: 1.953 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.3118, allocations: 0 / 0.8569 GB, free: 1.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.495e-06/0.3118, allocations: 15.88 kB / 0.8569 GB, free: 1.938 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3119, allocations: 0 / 0.8569 GB, free: 1.938 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.3125, allocations: 284.5 kB / 0.8572 GB, free: 1.641 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.3127, allocations: 116.8 kB / 0.8573 GB, free: 1.508 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.3128, allocations: 7.984 kB / 0.8573 GB, free: 1.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.313, allocations: 23.83 kB / 0.8574 GB, free: 1.477 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.3131, allocations: 15.98 kB / 0.8574 GB, free: 1.461 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.3131, allocations: 7.984 kB / 0.8574 GB, free: 1.453 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000302/0.3134, allocations: 243.2 kB / 0.8576 GB, free: 1.223 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3134, allocations: 0 / 0.8576 GB, free: 1.223 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004909/0.3139, allocations: 120 kB / 0.8577 GB, free: 1.105 MB / 0.67 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.0004296/0.3144, allocations: 203.1 kB / 0.8579 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000579/0.315, allocations: 223.2 kB / 0.8581 GB, free: 0.668 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.315, allocations: 0 / 0.8581 GB, free: 0.668 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.3152, allocations: 72.52 kB / 0.8582 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/0.3162, allocations: 205.7 kB / 0.8584 GB, free: 408 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3178, allocations: 0.7348 MB / 0.8591 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.3182, allocations: 0.7918 MB / 0.8599 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002454/0.3184, allocations: 59.23 kB / 0.8599 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.3185, allocations: 35.38 kB / 0.86 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of SimCode: time 3.1e-07/0.3185, allocations: 4 kB / 0.86 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of Templates: time 0.0139/0.3324, allocations: 7.1 MB / 0.8669 GB, free: 7.734 MB / 0.6856 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)