Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.728/2.728, allocations: 287.3 MB / 302.3 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001558, allocations: 198 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 91 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004977, allocations: 11.34 kB / 0.8657 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2258, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01627/0.2421, allocations: 12.13 MB / 0.9901 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005913/0.2481, allocations: 3.141 MB / 0.9932 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006418/0.2488, allocations: 11.94 kB / 0.9932 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008816/0.2497, allocations: 199 kB / 0.9934 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.252, allocations: 0.5764 MB / 0.994 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.2539, allocations: 460.2 kB / 0.9944 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.2554, allocations: 0.6425 MB / 0.995 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004914/0.2559, allocations: 230.1 kB / 0.9952 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.2565, allocations: 275 kB / 0.9955 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.2569, allocations: 195.1 kB / 0.9957 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.2569, allocations: 20 kB / 0.9957 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007095/0.2576, allocations: 167.7 kB / 0.9959 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2578, allocations: 63.73 kB / 0.9959 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.2579, allocations: 101.5 kB / 0.996 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.2586, allocations: 419 kB / 0.9964 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2587, allocations: 0 / 0.9964 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2587, allocations: 0 / 0.9964 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2587, allocations: 0 / 0.9964 GB, free: 9.695 MB / 0.6198 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.001315/0.26, allocations: 0.6736 MB / 0.9971 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2601, allocations: 19.95 kB / 0.9971 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.102e-05/0.2602, allocations: 58.55 kB / 0.9972 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.2604, allocations: 51.52 kB / 0.9972 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008428/0.2612, allocations: 421.9 kB / 0.9976 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.2613, allocations: 24.56 kB / 0.9976 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.2614, allocations: 28 kB / 0.9977 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.2622, allocations: 306.2 kB / 0.9979 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.2622, allocations: 0 / 0.9979 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.2623, allocations: 19.98 kB / 0.998 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.2623, allocations: 7.938 kB / 0.998 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007127/0.2631, allocations: 206.1 kB / 0.9982 GB, free: 7.781 MB / 0.6198 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.002323/0.2654, allocations: 1.505 MB / 0.9996 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.2661, allocations: 162.6 kB / 0.9998 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.2663, allocations: 89.09 kB / 0.9999 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000412/0.2667, allocations: 135.2 kB / 1 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.146e-06/0.2668, allocations: 0 / 1 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0009604/0.2677, allocations: 251.9 kB / 1 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.2678, allocations: 51.41 kB / 1 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.2683, allocations: 361.5 kB / 1.001 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.2683, allocations: 29.7 kB / 1.001 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.2685, allocations: 211.8 kB / 1.001 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.2686, allocations: 51.28 kB / 1.001 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.2686, allocations: 19.88 kB / 1.001 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.2687, allocations: 346.8 kB / 1.001 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.269, allocations: 71.95 kB / 1.001 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.2694, allocations: 149.9 kB / 1.001 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.2697, allocations: 129.6 kB / 1.002 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2697, allocations: 0 / 1.002 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009554/0.2707, allocations: 316.8 kB / 1.002 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.2708, allocations: 33.7 kB / 1.002 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.2708, allocations: 4 kB / 1.002 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.2708, allocations: 4 kB / 1.002 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.2713, allocations: 64.2 kB / 1.002 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.2713, allocations: 7.938 kB / 1.002 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.2718, allocations: 39.67 kB / 1.002 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.2719, allocations: 16 kB / 1.002 GB, free: 3.52 MB / 0.6198 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.0002439/0.2721, allocations: 161.7 kB / 1.002 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.2722, allocations: 35.62 kB / 1.002 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.2729, allocations: 208.4 kB / 1.002 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2729, allocations: 0 / 1.002 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.273, allocations: 0 / 1.002 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006159/0.2736, allocations: 499.7 kB / 1.003 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.2742, allocations: 361.2 kB / 1.003 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2742, allocations: 0 / 1.003 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.2746, allocations: 27.98 kB / 1.003 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.2746, allocations: 4 kB / 1.003 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.2746, allocations: 4 kB / 1.003 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.2746, allocations: 4 kB / 1.003 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2746, allocations: 3.984 kB / 1.003 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/0.2756, allocations: 303.9 kB / 1.004 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.2758, allocations: 132.7 kB / 1.004 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.2759, allocations: 4 kB / 1.004 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.2763, allocations: 23.97 kB / 1.004 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.2764, allocations: 15.97 kB / 1.004 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.2765, allocations: 8 kB / 1.004 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003421/0.2768, allocations: 259.1 kB / 1.004 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2768, allocations: 0 / 1.004 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006125/0.2775, allocations: 127.9 kB / 1.004 GB, free: 1.195 MB / 0.6198 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.001459/0.2789, allocations: 0.9194 MB / 1.005 GB, free: 256 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007459/0.2797, allocations: 243.4 kB / 1.005 GB, free: 0 / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2797, allocations: 0 / 1.005 GB, free: 0 / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.2801, allocations: 67.91 kB / 1.005 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.2817, allocations: 197.7 kB / 1.006 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.2923, allocations: 3.65 MB / 1.009 GB, free: 12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.293, allocations: 0.8036 MB / 1.01 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000802/0.2938, allocations: 63.23 kB / 1.01 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005351/0.2944, allocations: 115.4 kB / 1.01 GB, free: 11 MB / 0.6355 GB Notification: Performance of SimCode: time 2.775e-06/0.2944, allocations: 0 / 1.01 GB, free: 11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05135/0.3458, allocations: 10 MB / 1.02 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004047/0.3463, allocations: 185.1 kB / 1.02 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.195, allocations: 0 / 1.02 GB, free: 0.9414 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)