Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.74/1.74, allocations: 288.4 MB / 303.3 MB, free: 8.203 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.001193/0.001193, allocations: 182.2 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0009962/0.0009959, allocations: 93.38 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.000437, allocations: 15.25 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2414, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01341/0.2549, allocations: 13.19 MB / 0.9925 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004659/0.2596, allocations: 3.381 MB / 0.9958 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00085/0.2605, allocations: 15.88 kB / 0.9958 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.2611, allocations: 147.1 kB / 0.996 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.2627, allocations: 485.6 kB / 0.9964 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009506/0.2637, allocations: 281 kB / 0.9967 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001547/0.2652, allocations: 1.235 MB / 0.9979 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.2657, allocations: 242 kB / 0.9981 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004904/0.2662, allocations: 310.7 kB / 0.9984 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.2665, allocations: 282.8 kB / 0.9987 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.2666, allocations: 16 kB / 0.9987 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.2671, allocations: 151.7 kB / 0.9989 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.2672, allocations: 67.67 kB / 0.9989 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.535e-05/0.2673, allocations: 101.5 kB / 0.999 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.2677, allocations: 434.9 kB / 0.9994 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2677, allocations: 0 / 0.9994 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2677, allocations: 0 / 0.9994 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2678, allocations: 0 / 0.9994 GB, free: 7.23 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.001007/0.2688, allocations: 0.6639 MB / 1 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.2688, allocations: 20.02 kB / 1 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.631e-05/0.2689, allocations: 62.53 kB / 1 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.2691, allocations: 47.47 kB / 1 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006733/0.2698, allocations: 457.9 kB / 1.001 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.2698, allocations: 16.56 kB / 1.001 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.2698, allocations: 31.91 kB / 1.001 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.2704, allocations: 314.2 kB / 1.001 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.2704, allocations: 4 kB / 1.001 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.2704, allocations: 8 kB / 1.001 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.2705, allocations: 8 kB / 1.001 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.2709, allocations: 206.1 kB / 1.001 GB, free: 5.293 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.001453/0.2723, allocations: 1.485 MB / 1.003 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.2728, allocations: 170.6 kB / 1.003 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.2729, allocations: 68.77 kB / 1.003 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.2731, allocations: 89.09 kB / 1.003 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.2734, allocations: 137.5 kB / 1.003 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.206e-06/0.2734, allocations: 0 / 1.003 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.00061/0.274, allocations: 249.1 kB / 1.003 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.2741, allocations: 55.41 kB / 1.003 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.2743, allocations: 333.5 kB / 1.004 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.2744, allocations: 29.7 kB / 1.004 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2745, allocations: 211.8 kB / 1.004 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.2745, allocations: 59.19 kB / 1.004 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.2746, allocations: 8 kB / 1.004 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.585e-05/0.2746, allocations: 346.8 kB / 1.004 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.2748, allocations: 75.95 kB / 1.004 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.275, allocations: 149.9 kB / 1.005 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.2752, allocations: 126.4 kB / 1.005 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2752, allocations: 0 / 1.005 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005045/0.2757, allocations: 324.8 kB / 1.005 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.2758, allocations: 33.7 kB / 1.005 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2758, allocations: 4 kB / 1.005 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2758, allocations: 4 kB / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.276, allocations: 64.22 kB / 1.005 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2761, allocations: 4 kB / 1.005 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.2763, allocations: 35.72 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.2764, allocations: 16 kB / 1.005 GB, free: 0.9961 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.0001432/0.2765, allocations: 161.7 kB / 1.005 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.2766, allocations: 35.62 kB / 1.005 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.277, allocations: 204.4 kB / 1.006 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.277, allocations: 4 kB / 1.006 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.277, allocations: 0 / 1.006 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003718/0.2774, allocations: 493.2 kB / 1.006 GB, free: 16 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.2779, allocations: 357.3 kB / 1.006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2779, allocations: 4 kB / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.2781, allocations: 27.98 kB / 1.006 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2781, allocations: 0 / 1.006 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.2781, allocations: 19.92 kB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.2781, allocations: 3.938 kB / 1.006 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2781, allocations: 0 / 1.006 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.2788, allocations: 293.2 kB / 1.007 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.2789, allocations: 128.7 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/0.279, allocations: 8 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.2792, allocations: 19.89 kB / 1.007 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.2793, allocations: 19.97 kB / 1.007 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.2793, allocations: 7.984 kB / 1.007 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002332/0.2796, allocations: 235.2 kB / 1.007 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/0.2796, allocations: 0 / 1.007 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004234/0.28, allocations: 116 kB / 1.007 GB, free: 14.72 MB / 0.6355 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.001125/0.2811, allocations: 0.9117 MB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005515/0.2817, allocations: 235.6 kB / 1.008 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.2817, allocations: 4.125 kB / 1.008 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.2819, allocations: 78.28 kB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.2829, allocations: 197.3 kB / 1.009 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.2863, allocations: 2.101 MB / 1.011 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.2866, allocations: 0.7998 MB / 1.011 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003083/0.287, allocations: 67.19 kB / 1.011 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.2871, allocations: 111.4 kB / 1.012 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.2872, allocations: 0 / 1.012 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3117, allocations: 9.589 MB / 1.021 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.312, allocations: 196.7 kB / 1.021 GB, free: 476 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/2.643, allocations: 8.062 kB / 1.021 GB, free: 468 kB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)