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.0015/0.0015, allocations: 104.7 kB / 15.98 MB, free: 6.34 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.001709/0.001709, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.644/1.644, allocations: 205.1 MB / 222.8 MB, free: 4.719 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.712/1.712, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001526/0.001526, allocations: 68.16 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2952, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01539/0.3106, allocations: 14.38 MB / 0.7975 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005496/0.3162, allocations: 3.585 MB / 0.801 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007917/0.317, allocations: 15.88 kB / 0.8011 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008536/0.3179, allocations: 179.1 kB / 0.8012 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.3199, allocations: 0.5366 MB / 0.8018 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.3211, allocations: 353.4 kB / 0.8021 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.3231, allocations: 1.091 MB / 0.8032 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000701/0.3238, allocations: 316 kB / 0.8035 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.3255, allocations: 385.5 kB / 0.8038 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000696/0.3263, allocations: 318.6 kB / 0.8041 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.3264, allocations: 32 kB / 0.8042 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008242/0.3272, allocations: 259.5 kB / 0.8044 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.3274, allocations: 91.67 kB / 0.8045 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.3277, allocations: 215 kB / 0.8047 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008272/0.3286, allocations: 455 kB / 0.8051 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3286, allocations: 4 kB / 0.8051 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.707e-06/0.3286, allocations: 0 / 0.8051 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.3286, allocations: 3.938 kB / 0.8051 GB, free: 7.656 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.001654/0.3303, allocations: 0.7302 MB / 0.8059 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.3304, allocations: 12.03 kB / 0.8059 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.3306, allocations: 52.39 kB / 0.8059 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007416/0.3313, allocations: 471.2 kB / 0.8064 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.3314, allocations: 20.69 kB / 0.8064 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-05/0.3315, allocations: 32 kB / 0.8064 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008043/0.3323, allocations: 302.2 kB / 0.8067 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.3323, allocations: 11.98 kB / 0.8067 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.3324, allocations: 11.98 kB / 0.8067 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.3324, allocations: 12 kB / 0.8067 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.3329, allocations: 190.1 kB / 0.8069 GB, free: 5.723 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.001906/0.3348, allocations: 1.485 MB / 0.8084 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.3352, allocations: 150.6 kB / 0.8085 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.3354, allocations: 68.81 kB / 0.8086 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.3356, allocations: 89.11 kB / 0.8087 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003305/0.336, allocations: 131.2 kB / 0.8088 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.336, allocations: 0 / 0.8088 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0006807/0.3367, allocations: 232.2 kB / 0.809 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3367, allocations: 59.39 kB / 0.8091 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.3371, allocations: 333.6 kB / 0.8094 GB, free: 3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.3371, allocations: 29.7 kB / 0.8094 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3373, allocations: 219.7 kB / 0.8096 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.3374, allocations: 51.3 kB / 0.8097 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.3375, allocations: 53.61 kB / 0.8097 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3376, allocations: 350.8 kB / 0.8101 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.3378, allocations: 71.95 kB / 0.8101 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.3381, allocations: 145.3 kB / 0.8103 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.3385, allocations: 241.7 kB / 0.8105 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.3385, allocations: 4 kB / 0.8105 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000585/0.3391, allocations: 314.7 kB / 0.8108 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.3392, allocations: 33.7 kB / 0.8108 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3392, allocations: 0 / 0.8108 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3392, allocations: 7.938 kB / 0.8108 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.3395, allocations: 59.91 kB / 0.8109 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.3395, allocations: 7.984 kB / 0.8109 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.3398, allocations: 36.05 kB / 0.8109 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.3398, allocations: 11.98 kB / 0.811 GB, free: 1.277 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.0001761/0.34, allocations: 169.6 kB / 0.8111 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.3401, allocations: 31.62 kB / 0.8111 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/0.3405, allocations: 200.3 kB / 0.8113 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3405, allocations: 7.938 kB / 0.8113 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3406, allocations: 0 / 0.8113 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004771/0.341, allocations: 479.7 kB / 0.8118 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.3415, allocations: 353.4 kB / 0.8121 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3415, allocations: 0 / 0.8121 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.3417, allocations: 31.92 kB / 0.8122 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3417, allocations: 3.984 kB / 0.8122 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.3417, allocations: 8 kB / 0.8122 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3418, allocations: 3.938 kB / 0.8122 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3418, allocations: 4 kB / 0.8122 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.3424, allocations: 278.5 kB / 0.8125 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.3425, allocations: 124.8 kB / 0.8126 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.3426, allocations: 3.984 kB / 0.8126 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.3428, allocations: 27.92 kB / 0.8126 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.3429, allocations: 15.97 kB / 0.8126 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.3429, allocations: 8 kB / 0.8126 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002417/0.3432, allocations: 235.2 kB / 0.8129 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3432, allocations: 0 / 0.8129 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004548/0.3437, allocations: 123.9 kB / 0.813 GB, free: 15.03 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.0003608/0.344, allocations: 187.1 kB / 0.8131 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005182/0.3446, allocations: 239.5 kB / 0.8134 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3446, allocations: 0 / 0.8134 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.3448, allocations: 67.89 kB / 0.8134 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009391/0.3457, allocations: 213.4 kB / 0.8136 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.3472, allocations: 0.8733 MB / 0.8145 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3475, allocations: 0.784 MB / 0.8153 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/0.3476, allocations: 35.42 kB / 0.8153 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of SimCode: time 1.914e-06/0.3477, allocations: 4 kB / 0.8153 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of Templates: time 0.008708/0.3564, allocations: 5.905 MB / 0.8211 GB, free: 6.723 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)