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.396/1.396, allocations: 252 MB / 267.3 MB, free: 10.85 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.0009969/0.0009968, allocations: 169.4 kB / 327 MB, free: 2.086 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.577/1.577, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.001053/0.001053, allocations: 82.31 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004549, allocations: 9.984 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01071/0.2697, allocations: 13.9 MB / 0.9145 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004091/0.2738, allocations: 3.598 MB / 0.918 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005174/0.2744, allocations: 15.88 kB / 0.918 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005706/0.275, allocations: 167.1 kB / 0.9182 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.2764, allocations: 0.5366 MB / 0.9187 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007676/0.2771, allocations: 325.6 kB / 0.919 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.2783, allocations: 1.441 MB / 0.9204 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.2787, allocations: 265.1 kB / 0.9207 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.279, allocations: 318.6 kB / 0.921 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.2793, allocations: 302.6 kB / 0.9213 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.2794, allocations: 12 kB / 0.9213 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.2799, allocations: 235.5 kB / 0.9215 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.28, allocations: 79.61 kB / 0.9216 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.2801, allocations: 212.7 kB / 0.9218 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.2806, allocations: 0.5492 MB / 0.9223 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2807, allocations: 0 / 0.9223 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2807, allocations: 0 / 0.9223 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2807, allocations: 0 / 0.9223 GB, free: 41.39 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.0008326/0.2815, allocations: 0.6834 MB / 0.923 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2816, allocations: 12.03 kB / 0.923 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.2816, allocations: 54.73 kB / 0.923 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.2818, allocations: 52.45 kB / 0.9231 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.2823, allocations: 459.2 kB / 0.9235 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.2823, allocations: 24.48 kB / 0.9235 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.2824, allocations: 32 kB / 0.9236 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.2829, allocations: 310.2 kB / 0.9239 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2829, allocations: 0 / 0.9239 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2829, allocations: 8 kB / 0.9239 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.2829, allocations: 11.98 kB / 0.9239 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.2834, allocations: 210.1 kB / 0.9241 GB, free: 39.43 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.001371/0.2847, allocations: 1.481 MB / 0.9255 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.2851, allocations: 162.6 kB / 0.9257 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.2853, allocations: 77.06 kB / 0.9258 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.2854, allocations: 93.09 kB / 0.9259 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.2857, allocations: 132.4 kB / 0.926 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.2857, allocations: 0 / 0.926 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005465/0.2863, allocations: 258.6 kB / 0.9262 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.2863, allocations: 51.41 kB / 0.9263 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.2865, allocations: 329.7 kB / 0.9266 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2866, allocations: 33.7 kB / 0.9266 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2867, allocations: 215.7 kB / 0.9268 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.2867, allocations: 55.2 kB / 0.9269 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.2867, allocations: 8 kB / 0.9269 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.2868, allocations: 342.8 kB / 0.9272 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.287, allocations: 71.95 kB / 0.9273 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.2872, allocations: 157.3 kB / 0.9274 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.2875, allocations: 253.2 kB / 0.9277 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2875, allocations: 4 kB / 0.9277 GB, free: 35.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005059/0.2881, allocations: 329 kB / 0.928 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.2881, allocations: 29.7 kB / 0.928 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2881, allocations: 4 kB / 0.928 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2881, allocations: 7.938 kB / 0.928 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.2883, allocations: 56.19 kB / 0.9281 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2884, allocations: 11.98 kB / 0.9281 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.2886, allocations: 35.73 kB / 0.9281 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.2887, allocations: 16 kB / 0.9281 GB, free: 34.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.2888, allocations: 161.7 kB / 0.9283 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.2888, allocations: 35.61 kB / 0.9283 GB, free: 34.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/0.2892, allocations: 204.4 kB / 0.9285 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2893, allocations: 0 / 0.9285 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2893, allocations: 3.984 kB / 0.9285 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003656/0.2896, allocations: 498.8 kB / 0.929 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.29, allocations: 349.4 kB / 0.9293 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.29, allocations: 0 / 0.9293 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.2902, allocations: 35.98 kB / 0.9294 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2902, allocations: 0 / 0.9294 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.2902, allocations: 3.938 kB / 0.9294 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2902, allocations: 4 kB / 0.9294 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2902, allocations: 7.875 kB / 0.9294 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.2907, allocations: 304.5 kB / 0.9297 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.2909, allocations: 128.7 kB / 0.9298 GB, free: 33.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.2909, allocations: 11.92 kB / 0.9298 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.2912, allocations: 19.98 kB / 0.9298 GB, free: 33.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.2912, allocations: 11.97 kB / 0.9298 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.2912, allocations: 12 kB / 0.9299 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001804/0.2914, allocations: 239.2 kB / 0.9301 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2914, allocations: 0 / 0.9301 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003865/0.2918, allocations: 107.8 kB / 0.9302 GB, free: 32.69 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 (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.0008379/0.2927, allocations: 0.9245 MB / 0.9311 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.2931, allocations: 254.6 kB / 0.9313 GB, free: 31.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2931, allocations: 0 / 0.9313 GB, free: 31.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.2933, allocations: 71.91 kB / 0.9314 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008822/0.2942, allocations: 194.5 kB / 0.9316 GB, free: 31.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.2976, allocations: 3.212 MB / 0.9347 GB, free: 27.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.2977, allocations: 0.7879 MB / 0.9355 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002613/0.298, allocations: 71.12 kB / 0.9356 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.2981, allocations: 115.4 kB / 0.9357 GB, free: 26.87 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.2981, allocations: 3.938 kB / 0.9357 GB, free: 26.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.3167, allocations: 9.243 MB / 0.9447 GB, free: 17.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.3169, allocations: 206.2 kB / 0.9449 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/2.953, allocations: 0 / 0.9449 GB, free: 17.58 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)