Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001114/0.001114, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00116/0.00116, allocations: 194.3 kB / 16.25 MB, free: 6.625 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.474/1.474, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 292.3 MB / 0.5485 GB, free: 13.63 MB / 462.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.001471/0.001471, allocations: 64.75 kB / 0.671 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2543, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01669/0.271, allocations: 14.38 MB / 0.7969 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005619/0.2767, allocations: 3.59 MB / 0.8004 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007042/0.2775, allocations: 15.88 kB / 0.8004 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007194/0.2782, allocations: 175.1 kB / 0.8006 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.28, allocations: 0.5405 MB / 0.8011 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.2813, allocations: 358 kB / 0.8014 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.2829, allocations: 1.095 MB / 0.8025 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000632/0.2835, allocations: 312.1 kB / 0.8028 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.2849, allocations: 392.5 kB / 0.8032 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005935/0.2855, allocations: 314.6 kB / 0.8035 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.2856, allocations: 32 kB / 0.8035 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007263/0.2863, allocations: 263.4 kB / 0.8038 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.2864, allocations: 87.73 kB / 0.8038 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.2867, allocations: 218.9 kB / 0.804 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008649/0.2876, allocations: 0.5764 MB / 0.8046 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.699e-06/0.2876, allocations: 8 kB / 0.8046 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2876, allocations: 4 kB / 0.8046 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2876, allocations: 0 / 0.8046 GB, free: 7.539 MB / 0.6231 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.001326/0.2889, allocations: 0.7379 MB / 0.8053 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.289, allocations: 8.031 kB / 0.8054 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.2892, allocations: 44.47 kB / 0.8054 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.29, allocations: 471.2 kB / 0.8058 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.29, allocations: 28.67 kB / 0.8059 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.2901, allocations: 24 kB / 0.8059 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/0.2907, allocations: 314.2 kB / 0.8062 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.2907, allocations: 0 / 0.8062 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.2907, allocations: 16 kB / 0.8062 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.2908, allocations: 4 kB / 0.8062 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.2913, allocations: 198.1 kB / 0.8064 GB, free: 5.605 MB / 0.6231 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.001828/0.2931, allocations: 1.473 MB / 0.8078 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.2936, allocations: 166.5 kB / 0.808 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.2938, allocations: 64.83 kB / 0.8081 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.2939, allocations: 93.03 kB / 0.8081 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.2943, allocations: 127.3 kB / 0.8083 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 3.186e-06/0.2943, allocations: 7.922 kB / 0.8083 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0006387/0.2949, allocations: 239.4 kB / 0.8085 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.295, allocations: 55.39 kB / 0.8086 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.2954, allocations: 333.6 kB / 0.8089 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.2954, allocations: 29.7 kB / 0.8089 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.2956, allocations: 215.7 kB / 0.8091 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.2956, allocations: 55.28 kB / 0.8092 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.2957, allocations: 53.61 kB / 0.8092 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2959, allocations: 338.8 kB / 0.8095 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.2961, allocations: 75.95 kB / 0.8096 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.2964, allocations: 145.3 kB / 0.8097 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.2968, allocations: 249.9 kB / 0.81 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2968, allocations: 0 / 0.81 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006082/0.2974, allocations: 310.8 kB / 0.8103 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.2975, allocations: 37.69 kB / 0.8103 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.2975, allocations: 4 kB / 0.8103 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.2975, allocations: 7.938 kB / 0.8103 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2977, allocations: 51.91 kB / 0.8104 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.2978, allocations: 4 kB / 0.8104 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.2981, allocations: 36.02 kB / 0.8104 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.2981, allocations: 12 kB / 0.8104 GB, free: 1.16 MB / 0.6231 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.0002056/0.2983, allocations: 161.7 kB / 0.8106 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.2984, allocations: 31.62 kB / 0.8106 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.2988, allocations: 200.3 kB / 0.8108 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.2989, allocations: 3.938 kB / 0.8108 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2989, allocations: 4 kB / 0.8108 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005136/0.2994, allocations: 479.8 kB / 0.8113 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.2999, allocations: 349.5 kB / 0.8116 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.2999, allocations: 7.938 kB / 0.8116 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.3001, allocations: 27.97 kB / 0.8116 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.3001, allocations: 4 kB / 0.8116 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3001, allocations: 0 / 0.8116 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3001, allocations: 15.72 kB / 0.8117 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3002, allocations: 0 / 0.8117 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.3008, allocations: 287.4 kB / 0.8119 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3009, allocations: 120.8 kB / 0.812 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.301, allocations: 8 kB / 0.8121 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.3012, allocations: 23.91 kB / 0.8121 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.3013, allocations: 15.98 kB / 0.8121 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.3014, allocations: 11.98 kB / 0.8121 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002602/0.3016, allocations: 227.2 kB / 0.8123 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3016, allocations: 0 / 0.8123 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004666/0.3021, allocations: 123.9 kB / 0.8124 GB, free: 14.91 MB / 0.6387 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.0003934/0.3025, allocations: 195.1 kB / 0.8126 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005372/0.303, allocations: 223.8 kB / 0.8128 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3031, allocations: 4.062 kB / 0.8128 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.3033, allocations: 71.89 kB / 0.8129 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009636/0.3042, allocations: 212.6 kB / 0.8131 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.3058, allocations: 0.8443 MB / 0.8139 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3062, allocations: 0.7918 MB / 0.8147 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002965/0.3065, allocations: 59.25 kB / 0.8148 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.3066, allocations: 39.42 kB / 0.8148 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of SimCode: time 1.943e-06/0.3066, allocations: 0 / 0.8148 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.0129/0.3195, allocations: 6.784 MB / 0.8214 GB, free: 5.762 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)