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.0008516/0.0008516, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0008798/0.0008799, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.651/1.651, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005161/0.0005162, allocations: 19.64 kB / 0.6735 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2577, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01251/0.2703, allocations: 12.14 MB / 0.799 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004619/0.2749, allocations: 3.136 MB / 0.802 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000466/0.2754, allocations: 7.938 kB / 0.802 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006488/0.2761, allocations: 203 kB / 0.8022 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.2776, allocations: 0.5686 MB / 0.8028 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.2789, allocations: 477.6 kB / 0.8032 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.2799, allocations: 0.636 MB / 0.8038 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.2803, allocations: 240.9 kB / 0.8041 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.2807, allocations: 267 kB / 0.8043 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.2809, allocations: 195.1 kB / 0.8045 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.281, allocations: 16 kB / 0.8045 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.2815, allocations: 171.8 kB / 0.8047 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.279e-05/0.2816, allocations: 71.67 kB / 0.8048 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 9.476e-05/0.2817, allocations: 101.5 kB / 0.8049 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.2821, allocations: 418.9 kB / 0.8053 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2821, allocations: 0 / 0.8053 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2822, allocations: 0 / 0.8053 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2822, allocations: 0 / 0.8053 GB, free: 9.352 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.001068/0.2832, allocations: 0.6717 MB / 0.8059 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2833, allocations: 8.031 kB / 0.8059 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.2835, allocations: 51.52 kB / 0.806 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.2841, allocations: 418 kB / 0.8064 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.2841, allocations: 28.45 kB / 0.8064 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.2842, allocations: 24 kB / 0.8064 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.2847, allocations: 310.2 kB / 0.8067 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2847, allocations: 3.938 kB / 0.8067 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.2848, allocations: 12 kB / 0.8067 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.2848, allocations: 12 kB / 0.8067 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.2852, allocations: 198.1 kB / 0.8069 GB, free: 7.52 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.001691/0.2869, allocations: 1.508 MB / 0.8084 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.2874, allocations: 178.6 kB / 0.8086 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.2875, allocations: 85.09 kB / 0.8087 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.2878, allocations: 135.3 kB / 0.8088 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2878, allocations: 0 / 0.8088 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0005952/0.2884, allocations: 244 kB / 0.809 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.2885, allocations: 55.41 kB / 0.8091 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.2889, allocations: 361.6 kB / 0.8094 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2889, allocations: 29.7 kB / 0.8094 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.289, allocations: 211.7 kB / 0.8096 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.2891, allocations: 55.28 kB / 0.8097 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.2891, allocations: 4 kB / 0.8097 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2892, allocations: 346.8 kB / 0.81 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.2894, allocations: 71.95 kB / 0.8101 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.2897, allocations: 157.3 kB / 0.8103 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.2899, allocations: 121.6 kB / 0.8104 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2899, allocations: 0 / 0.8104 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005591/0.2905, allocations: 321.6 kB / 0.8107 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.2905, allocations: 33.7 kB / 0.8107 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2905, allocations: 0 / 0.8107 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2905, allocations: 4 kB / 0.8107 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.2908, allocations: 63.89 kB / 0.8108 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2908, allocations: 8.125 kB / 0.8108 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.2911, allocations: 47.67 kB / 0.8108 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.2911, allocations: 8 kB / 0.8108 GB, free: 3.258 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 ($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.0001866/0.2913, allocations: 161.7 kB / 0.811 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.2913, allocations: 31.62 kB / 0.811 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.2918, allocations: 208.4 kB / 0.8112 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2918, allocations: 4 kB / 0.8112 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2918, allocations: 0 / 0.8112 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004743/0.2923, allocations: 0.4953 MB / 0.8117 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.2927, allocations: 349.2 kB / 0.812 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2927, allocations: 3.984 kB / 0.812 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.2929, allocations: 35.98 kB / 0.8121 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2929, allocations: 0 / 0.8121 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2929, allocations: 4 kB / 0.8121 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.2929, allocations: 4 kB / 0.8121 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2929, allocations: 4 kB / 0.8121 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.2935, allocations: 304.5 kB / 0.8124 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2937, allocations: 128.7 kB / 0.8125 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.2937, allocations: 8 kB / 0.8125 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.294, allocations: 19.97 kB / 0.8125 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.294, allocations: 19.97 kB / 0.8125 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.2941, allocations: 4 kB / 0.8126 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002519/0.2943, allocations: 251.2 kB / 0.8128 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2943, allocations: 4 kB / 0.8128 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004314/0.2948, allocations: 131.9 kB / 0.8129 GB, free: 0.9297 MB / 0.6231 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 (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.0003401/0.2951, allocations: 191.1 kB / 0.8131 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.2956, allocations: 235.5 kB / 0.8133 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2956, allocations: 0 / 0.8133 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.2958, allocations: 79.89 kB / 0.8134 GB, free: 424 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.2967, allocations: 197.3 kB / 0.8136 GB, free: 228 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.2981, allocations: 0.9481 MB / 0.8145 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.2985, allocations: 0.7923 MB / 0.8153 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002481/0.2987, allocations: 67.25 kB / 0.8154 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.2988, allocations: 31.42 kB / 0.8154 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.2988, allocations: 0 / 0.8154 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of Templates: time 0.01148/0.3103, allocations: 6.737 MB / 0.822 GB, free: 7.703 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: