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.555/2.555, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001526/0.001525, allocations: 180.9 kB / 360.6 MB, free: 7.285 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.173/2.173, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 98.02 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.404e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8094, allocations: 115.3 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/2.062, allocations: 394.2 MB / 1.348 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/2.063, allocations: 83.39 kB / 1.348 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3286/2.391, allocations: 103.2 MB / 1.449 GB, free: 84.82 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/2.391, allocations: 0 / 1.449 GB, free: 84.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.633e-05/2.391, allocations: 4 kB / 1.449 GB, free: 84.81 MB / 0.8542 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.001213/2.393, allocations: 0.661 MB / 1.45 GB, free: 84.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/2.393, allocations: 8.031 kB / 1.45 GB, free: 84.09 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/2.393, allocations: 51.39 kB / 1.45 GB, free: 84.04 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02061/2.414, allocations: 6.635 MB / 1.456 GB, free: 77.32 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/2.414, allocations: 8 kB / 1.456 GB, free: 77.31 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/2.414, allocations: 16 kB / 1.456 GB, free: 77.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004305/2.414, allocations: 137.1 kB / 1.457 GB, free: 77.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/2.415, allocations: 253.1 kB / 1.457 GB, free: 76.89 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/2.415, allocations: 0 / 1.457 GB, free: 76.89 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/2.415, allocations: 4 kB / 1.457 GB, free: 76.89 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/2.415, allocations: 7.953 kB / 1.457 GB, free: 76.88 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/2.417, allocations: 1.434 MB / 1.458 GB, free: 75.33 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/2.418, allocations: 122.7 kB / 1.458 GB, free: 75.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/2.418, allocations: 44.86 kB / 1.458 GB, free: 75.16 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/2.418, allocations: 85.09 kB / 1.459 GB, free: 75.05 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/2.418, allocations: 108.3 kB / 1.459 GB, free: 74.94 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.717e-06/2.418, allocations: 0 / 1.459 GB, free: 74.94 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004684/2.419, allocations: 146 kB / 1.459 GB, free: 74.79 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/2.419, allocations: 59.39 kB / 1.459 GB, free: 74.72 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/2.419, allocations: 277.1 kB / 1.459 GB, free: 74.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/2.419, allocations: 29.7 kB / 1.459 GB, free: 74.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/2.419, allocations: 215.8 kB / 1.459 GB, free: 74.19 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/2.419, allocations: 51.3 kB / 1.459 GB, free: 74.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/2.419, allocations: 0 / 1.459 GB, free: 74.14 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.537e-05/2.419, allocations: 338.8 kB / 1.46 GB, free: 73.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/2.42, allocations: 43.98 kB / 1.46 GB, free: 73.76 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/2.42, allocations: 133.9 kB / 1.46 GB, free: 73.59 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/2.42, allocations: 73.84 kB / 1.46 GB, free: 73.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/2.42, allocations: 0 / 1.46 GB, free: 73.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005842/2.421, allocations: 229 kB / 1.46 GB, free: 73.29 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/2.421, allocations: 34.02 kB / 1.46 GB, free: 73.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/2.421, allocations: 9.562 kB / 1.46 GB, free: 73.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/2.421, allocations: 4 kB / 1.46 GB, free: 73.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/2.421, allocations: 59.91 kB / 1.46 GB, free: 73.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/2.421, allocations: 15.83 kB / 1.46 GB, free: 73.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/2.422, allocations: 31.73 kB / 1.46 GB, free: 73.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/2.422, allocations: 15.98 kB / 1.46 GB, free: 73.12 MB / 0.8542 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 () * 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.0001082/2.422, allocations: 115.3 kB / 1.46 GB, free: 73 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003315/2.422, allocations: 147.1 kB / 1.461 GB, free: 72.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/2.422, allocations: 23.72 kB / 1.461 GB, free: 72.83 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/2.423, allocations: 160.4 kB / 1.461 GB, free: 72.67 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/2.423, allocations: 4 kB / 1.461 GB, free: 72.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/2.423, allocations: 0 / 1.461 GB, free: 72.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003323/2.423, allocations: 456.9 kB / 1.461 GB, free: 72.13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/2.424, allocations: 298 kB / 1.461 GB, free: 71.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/2.424, allocations: 2.625 kB / 1.461 GB, free: 71.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/2.424, allocations: 31.98 kB / 1.461 GB, free: 71.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/2.424, allocations: 11.92 kB / 1.461 GB, free: 71.76 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/2.424, allocations: 0 / 1.461 GB, free: 71.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/2.424, allocations: 0 / 1.461 GB, free: 71.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/2.424, allocations: 3.953 kB / 1.461 GB, free: 71.76 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/2.425, allocations: 237.5 kB / 1.462 GB, free: 71.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/2.425, allocations: 120.8 kB / 1.462 GB, free: 71.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/2.425, allocations: 8 kB / 1.462 GB, free: 71.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/2.425, allocations: 19.91 kB / 1.462 GB, free: 71.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/2.425, allocations: 11.98 kB / 1.462 GB, free: 71.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/2.425, allocations: 19.94 kB / 1.462 GB, free: 71.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002684/2.426, allocations: 208.6 kB / 1.462 GB, free: 71.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.91e-07/2.426, allocations: 0 / 1.462 GB, free: 71.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000661/2.426, allocations: 135.9 kB / 1.462 GB, free: 70.98 MB / 0.8542 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) * 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.001078/2.427, allocations: 0.9007 MB / 1.463 GB, free: 70.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004117/2.428, allocations: 183.2 kB / 1.463 GB, free: 69.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/2.428, allocations: 0.625 kB / 1.463 GB, free: 69.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/2.428, allocations: 55.92 kB / 1.463 GB, free: 69.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/2.43, allocations: 173.8 kB / 1.463 GB, free: 69.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/2.431, allocations: 0.614 MB / 1.464 GB, free: 69 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/2.432, allocations: 0.7952 MB / 1.465 GB, free: 68.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004499/2.432, allocations: 54.08 kB / 1.465 GB, free: 68.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/2.432, allocations: 123.3 kB / 1.465 GB, free: 68 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/2.432, allocations: 3.938 kB / 1.465 GB, free: 68 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05116/2.483, allocations: 8.978 MB / 1.474 GB, free: 59.12 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/2.484, allocations: 140.2 kB / 1.474 GB, free: 58.93 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/5.14, allocations: 3.938 kB / 1.474 GB, free: 58.93 MB / 0.8542 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)