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.01008/0.01008, allocations: 103.5 kB / 15.74 MB, free: 5.992 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.001435/0.001435, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.47/1.47, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.589/1.589, allocations: 251.7 MB / 0.5094 GB, free: 3.008 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.001522/0.001522, allocations: 71.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2531, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01611/0.2693, allocations: 14.45 MB / 0.8421 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005566/0.2749, allocations: 3.607 MB / 0.8457 GB, free: 14.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005438/0.2755, allocations: 15.94 kB / 0.8457 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007016/0.2762, allocations: 210.7 kB / 0.8459 GB, free: 13.85 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.2779, allocations: 0.6064 MB / 0.8465 GB, free: 13.24 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009816/0.2789, allocations: 366.1 kB / 0.8468 GB, free: 12.88 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.2803, allocations: 1.068 MB / 0.8479 GB, free: 11.81 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005037/0.2808, allocations: 315.8 kB / 0.8482 GB, free: 11.5 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.2819, allocations: 397.3 kB / 0.8485 GB, free: 11.11 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.2824, allocations: 306.6 kB / 0.8488 GB, free: 10.81 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.2824, allocations: 32 kB / 0.8489 GB, free: 10.78 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.2831, allocations: 255.5 kB / 0.8491 GB, free: 10.53 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.2832, allocations: 91.67 kB / 0.8492 GB, free: 10.44 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.2834, allocations: 215 kB / 0.8494 GB, free: 10.23 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0008976/0.2843, allocations: 0.5764 MB / 0.85 GB, free: 9.652 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2844, allocations: 4 kB / 0.85 GB, free: 9.648 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2844, allocations: 0 / 0.85 GB, free: 9.648 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.2844, allocations: 0 / 0.85 GB, free: 9.648 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.001349/0.2857, allocations: 0.7379 MB / 0.8507 GB, free: 8.855 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2858, allocations: 12.03 kB / 0.8507 GB, free: 8.844 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.286, allocations: 44.47 kB / 0.8507 GB, free: 8.801 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007844/0.2868, allocations: 455 kB / 0.8512 GB, free: 8.32 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.2869, allocations: 20.94 kB / 0.8512 GB, free: 8.301 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.2869, allocations: 35.88 kB / 0.8512 GB, free: 8.266 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.2875, allocations: 302.2 kB / 0.8515 GB, free: 7.949 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.2875, allocations: 4 kB / 0.8515 GB, free: 7.945 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.2876, allocations: 8 kB / 0.8515 GB, free: 7.938 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.2876, allocations: 15.97 kB / 0.8515 GB, free: 7.922 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.2881, allocations: 194.1 kB / 0.8517 GB, free: 7.734 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.002/0.2901, allocations: 1.477 MB / 0.8532 GB, free: 6.129 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.2906, allocations: 166.5 kB / 0.8533 GB, free: 5.957 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.2908, allocations: 68.83 kB / 0.8534 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002177/0.291, allocations: 89.09 kB / 0.8535 GB, free: 5.781 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.2914, allocations: 123.3 kB / 0.8536 GB, free: 5.648 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.2914, allocations: 0 / 0.8536 GB, free: 5.648 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0006945/0.2921, allocations: 233.1 kB / 0.8538 GB, free: 5.414 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.2922, allocations: 55.34 kB / 0.8539 GB, free: 5.348 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.2926, allocations: 345.6 kB / 0.8542 GB, free: 5.004 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.2926, allocations: 33.7 kB / 0.8542 GB, free: 4.965 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.2928, allocations: 211.7 kB / 0.8544 GB, free: 4.754 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.2928, allocations: 47.36 kB / 0.8545 GB, free: 4.707 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.2929, allocations: 65.59 kB / 0.8545 GB, free: 4.637 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2931, allocations: 334.8 kB / 0.8549 GB, free: 4.301 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.2933, allocations: 71.95 kB / 0.8549 GB, free: 4.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.2935, allocations: 141.9 kB / 0.8551 GB, free: 4.059 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.2939, allocations: 254.8 kB / 0.8553 GB, free: 3.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.294, allocations: 0 / 0.8553 GB, free: 3.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006041/0.2946, allocations: 301.7 kB / 0.8556 GB, free: 3.465 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.2946, allocations: 46 kB / 0.8556 GB, free: 3.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2946, allocations: 0 / 0.8556 GB, free: 3.414 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.2947, allocations: 4 kB / 0.8556 GB, free: 3.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.2949, allocations: 59.84 kB / 0.8557 GB, free: 3.352 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.2949, allocations: 11.88 kB / 0.8557 GB, free: 3.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.2952, allocations: 35.67 kB / 0.8557 GB, free: 3.305 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.2952, allocations: 12 kB / 0.8558 GB, free: 3.293 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.0001665/0.2954, allocations: 153.8 kB / 0.8559 GB, free: 3.133 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.2954, allocations: 35.62 kB / 0.8559 GB, free: 3.098 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.2959, allocations: 199.1 kB / 0.8561 GB, free: 2.891 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2959, allocations: 3.938 kB / 0.8561 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2959, allocations: 0 / 0.8561 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004896/0.2964, allocations: 483.7 kB / 0.8566 GB, free: 2.328 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.2969, allocations: 345.4 kB / 0.8569 GB, free: 1.941 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.297, allocations: 4 kB / 0.8569 GB, free: 1.938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.2971, allocations: 35.97 kB / 0.857 GB, free: 1.902 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2971, allocations: 7.938 kB / 0.857 GB, free: 1.895 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.2972, allocations: 0 / 0.857 GB, free: 1.895 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2972, allocations: 3.938 kB / 0.857 GB, free: 1.891 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2972, allocations: 0 / 0.857 GB, free: 1.891 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.2978, allocations: 292.4 kB / 0.8573 GB, free: 1.586 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.2979, allocations: 116.8 kB / 0.8574 GB, free: 1.453 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.298, allocations: 8.094 kB / 0.8574 GB, free: 1.445 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.2982, allocations: 19.83 kB / 0.8574 GB, free: 1.426 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.2983, allocations: 23.95 kB / 0.8574 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.2983, allocations: 4 kB / 0.8574 GB, free: 1.398 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002432/0.2986, allocations: 247.2 kB / 0.8577 GB, free: 1.164 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2986, allocations: 0 / 0.8577 GB, free: 1.164 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004443/0.299, allocations: 124 kB / 0.8578 GB, free: 1.043 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.0003701/0.2994, allocations: 195.1 kB / 0.858 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.2999, allocations: 225.9 kB / 0.8582 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.2999, allocations: 8.547 kB / 0.8582 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.3001, allocations: 71.97 kB / 0.8583 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008782/0.301, allocations: 203.8 kB / 0.8584 GB, free: 348 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3025, allocations: 0.7271 MB / 0.8592 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.3029, allocations: 0.7996 MB / 0.8599 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000229/0.3032, allocations: 55.25 kB / 0.86 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.893e-05/0.3033, allocations: 35.42 kB / 0.86 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of SimCode: time 5.51e-07/0.3033, allocations: 0 / 0.86 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of Templates: time 0.01543/0.3187, allocations: 7.111 MB / 0.867 GB, free: 7.668 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)