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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 252 MB / 267 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 187.3 kB / 326.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008311/0.000831, allocations: 88.39 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 9.906 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2409, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01734/0.2583, allocations: 13.21 MB / 0.9132 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005935/0.2643, allocations: 3.373 MB / 0.9165 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009534/0.2653, allocations: 15.88 kB / 0.9165 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008552/0.2662, allocations: 147.1 kB / 0.9166 GB, free: 47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.2683, allocations: 481.6 kB / 0.9171 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.2696, allocations: 269.7 kB / 0.9174 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001855/0.2715, allocations: 1.234 MB / 0.9186 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006585/0.2721, allocations: 226.1 kB / 0.9188 GB, free: 44.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008091/0.273, allocations: 314.7 kB / 0.9191 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006186/0.2736, allocations: 278.7 kB / 0.9193 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.429e-05/0.2737, allocations: 12 kB / 0.9194 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007719/0.2745, allocations: 151.7 kB / 0.9195 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.2747, allocations: 71.61 kB / 0.9196 GB, free: 44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.2749, allocations: 105.5 kB / 0.9197 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007582/0.2757, allocations: 411.3 kB / 0.9201 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.2757, allocations: 8 kB / 0.9201 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2757, allocations: 0 / 0.9201 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.2757, allocations: 0 / 0.9201 GB, free: 43.48 MB / 0.6042 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.001547/0.2773, allocations: 0.6731 MB / 0.9207 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.2774, allocations: 11.97 kB / 0.9207 GB, free: 42.74 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.2775, allocations: 70.53 kB / 0.9208 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002677/0.2778, allocations: 43.53 kB / 0.9208 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009977/0.2788, allocations: 457.9 kB / 0.9213 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.2788, allocations: 20.56 kB / 0.9213 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.2789, allocations: 27.98 kB / 0.9213 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/0.2797, allocations: 314.2 kB / 0.9216 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.2797, allocations: 0 / 0.9216 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.2798, allocations: 8 kB / 0.9216 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.2798, allocations: 8 kB / 0.9216 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.2804, allocations: 210 kB / 0.9218 GB, free: 41.53 MB / 0.6042 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.002111/0.2825, allocations: 1.485 MB / 0.9233 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.2831, allocations: 166.6 kB / 0.9235 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.2833, allocations: 68.81 kB / 0.9235 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.2835, allocations: 89.09 kB / 0.9236 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.2839, allocations: 127.3 kB / 0.9237 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 3.086e-06/0.2839, allocations: 3.984 kB / 0.9237 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0007506/0.2847, allocations: 250.4 kB / 0.924 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.2847, allocations: 55.39 kB / 0.924 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.2851, allocations: 325.7 kB / 0.9243 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.2852, allocations: 33.7 kB / 0.9244 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.2853, allocations: 223.6 kB / 0.9246 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.2854, allocations: 47.36 kB / 0.9246 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.2854, allocations: 4 kB / 0.9246 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.2855, allocations: 350.8 kB / 0.925 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.2858, allocations: 71.95 kB / 0.925 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.2861, allocations: 149.4 kB / 0.9252 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.2864, allocations: 117.6 kB / 0.9253 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2864, allocations: 0 / 0.9253 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007494/0.2871, allocations: 325.1 kB / 0.9256 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.2872, allocations: 41.62 kB / 0.9256 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.2872, allocations: 4 kB / 0.9256 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.2873, allocations: 4 kB / 0.9256 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.2876, allocations: 56.16 kB / 0.9257 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.2876, allocations: 8 kB / 0.9257 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.288, allocations: 39.67 kB / 0.9257 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.288, allocations: 19.94 kB / 0.9258 GB, free: 37.25 MB / 0.6042 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.0001818/0.2882, allocations: 157.8 kB / 0.9259 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.2883, allocations: 31.62 kB / 0.9259 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/0.2888, allocations: 209.5 kB / 0.9261 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2888, allocations: 0 / 0.9261 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2888, allocations: 4 kB / 0.9261 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005023/0.2894, allocations: 0.4942 MB / 0.9266 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.2899, allocations: 353.2 kB / 0.927 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2899, allocations: 0 / 0.927 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.2901, allocations: 31.97 kB / 0.927 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2901, allocations: 0 / 0.927 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.2902, allocations: 8 kB / 0.927 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2902, allocations: 0 / 0.927 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2902, allocations: 7.938 kB / 0.927 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00075/0.291, allocations: 300.5 kB / 0.9273 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.2911, allocations: 124.7 kB / 0.9274 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.2912, allocations: 8 kB / 0.9274 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.2916, allocations: 19.97 kB / 0.9274 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.2917, allocations: 15.98 kB / 0.9275 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.2917, allocations: 7.984 kB / 0.9275 GB, free: 35.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000255/0.292, allocations: 231.2 kB / 0.9277 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.292, allocations: 8 kB / 0.9277 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005662/0.2925, allocations: 112 kB / 0.9278 GB, free: 34.96 MB / 0.6042 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.001164/0.2937, allocations: 0.9137 MB / 0.9287 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005893/0.2943, allocations: 235.1 kB / 0.9289 GB, free: 33.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2943, allocations: 4.609 kB / 0.9289 GB, free: 33.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.2946, allocations: 79.84 kB / 0.929 GB, free: 33.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.2959, allocations: 199.3 kB / 0.9292 GB, free: 33.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.3, allocations: 2.089 MB / 0.9312 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3003, allocations: 0.7998 MB / 0.932 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003835/0.3007, allocations: 59.27 kB / 0.9321 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.3009, allocations: 111.4 kB / 0.9322 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.3009, allocations: 0 / 0.9322 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.3311, allocations: 9.546 MB / 0.9415 GB, free: 21.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.3313, allocations: 190.2 kB / 0.9417 GB, free: 20.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/2.718, allocations: 0 / 0.9417 GB, free: 20.79 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)