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.225/1.225, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008365/0.0008365, allocations: 179.1 kB / 325.8 MB, free: 2.691 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.417/1.417, allocations: 205 MB / 0.576 GB, free: 20.95 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.000774/0.0007742, allocations: 82.36 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 11.94 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1603, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01002/0.1704, allocations: 14.09 MB / 0.91 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.1739, allocations: 3.636 MB / 0.9135 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.1743, allocations: 11.94 kB / 0.9135 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.1748, allocations: 175 kB / 0.9137 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.1758, allocations: 0.5327 MB / 0.9142 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.1764, allocations: 330.2 kB / 0.9145 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000905/0.1773, allocations: 1.441 MB / 0.9159 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.1776, allocations: 263.6 kB / 0.9162 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.1779, allocations: 310.6 kB / 0.9165 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.1782, allocations: 306.6 kB / 0.9168 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.1782, allocations: 16 kB / 0.9168 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.1786, allocations: 239.4 kB / 0.917 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.1787, allocations: 71.67 kB / 0.9171 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.1788, allocations: 187 kB / 0.9173 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006449/0.1795, allocations: 0.5528 MB / 0.9178 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1795, allocations: 0 / 0.9178 GB, free: 45.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1795, allocations: 7.938 kB / 0.9178 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1795, allocations: 0 / 0.9178 GB, free: 45.82 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.0008211/0.1804, allocations: 0.6718 MB / 0.9185 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1804, allocations: 8.031 kB / 0.9185 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.1805, allocations: 62.72 kB / 0.9185 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.1806, allocations: 48.47 kB / 0.9186 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.1812, allocations: 471 kB / 0.919 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1812, allocations: 24.5 kB / 0.919 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.1812, allocations: 28 kB / 0.9191 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.1817, allocations: 306.2 kB / 0.9194 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1817, allocations: 7.938 kB / 0.9194 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.1817, allocations: 12 kB / 0.9194 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.1818, allocations: 12 kB / 0.9194 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.1822, allocations: 202.1 kB / 0.9196 GB, free: 43.87 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.001273/0.1835, allocations: 1.485 MB / 0.921 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.1838, allocations: 166.6 kB / 0.9212 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.184, allocations: 72.83 kB / 0.9213 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.1842, allocations: 89.09 kB / 0.9213 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.1844, allocations: 123.3 kB / 0.9215 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.1844, allocations: 8 kB / 0.9215 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005482/0.185, allocations: 246.6 kB / 0.9217 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.185, allocations: 59.34 kB / 0.9218 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.1853, allocations: 333.7 kB / 0.9221 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1853, allocations: 29.7 kB / 0.9221 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.763e-05/0.1854, allocations: 215.7 kB / 0.9223 GB, free: 40.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.1854, allocations: 51.27 kB / 0.9224 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.1855, allocations: 29.7 kB / 0.9224 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.1855, allocations: 342.8 kB / 0.9227 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.1857, allocations: 75.95 kB / 0.9228 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.1859, allocations: 145.4 kB / 0.9229 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.1863, allocations: 261.5 kB / 0.9232 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1863, allocations: 0 / 0.9232 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000495/0.1868, allocations: 322.7 kB / 0.9235 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.1868, allocations: 32.36 kB / 0.9235 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1868, allocations: 8.25 kB / 0.9235 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1868, allocations: 11.94 kB / 0.9235 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.1871, allocations: 59.89 kB / 0.9236 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1871, allocations: 15.86 kB / 0.9236 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1873, allocations: 39.67 kB / 0.9236 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.1874, allocations: 16 kB / 0.9237 GB, free: 39.38 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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.000115/0.1875, allocations: 161.8 kB / 0.9238 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.1875, allocations: 31.62 kB / 0.9238 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/0.1879, allocations: 204.4 kB / 0.924 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.188, allocations: 4 kB / 0.924 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.188, allocations: 4 kB / 0.9241 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003576/0.1883, allocations: 493.2 kB / 0.9245 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.1886, allocations: 345.4 kB / 0.9249 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1887, allocations: 0 / 0.9249 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1888, allocations: 39.98 kB / 0.9249 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1888, allocations: 0 / 0.9249 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1888, allocations: 7.922 kB / 0.9249 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1889, allocations: 0 / 0.9249 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1889, allocations: 4 kB / 0.9249 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.1894, allocations: 303.4 kB / 0.9252 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.1895, allocations: 120.8 kB / 0.9253 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.1895, allocations: 11.94 kB / 0.9253 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1898, allocations: 31.89 kB / 0.9253 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.1898, allocations: 15.98 kB / 0.9254 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1899, allocations: 11.98 kB / 0.9254 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001665/0.19, allocations: 231.2 kB / 0.9256 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.19, allocations: 0 / 0.9256 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003264/0.1904, allocations: 116.1 kB / 0.9257 GB, free: 37.1 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.0008218/0.1912, allocations: 0.9126 MB / 0.9266 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.1916, allocations: 245.2 kB / 0.9268 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1916, allocations: 0 / 0.9268 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.1918, allocations: 75.89 kB / 0.9269 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.1927, allocations: 198.9 kB / 0.9271 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.1959, allocations: 3.142 MB / 0.9302 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.1961, allocations: 0.7957 MB / 0.9309 GB, free: 31.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002285/0.1963, allocations: 67.19 kB / 0.931 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.1965, allocations: 111.4 kB / 0.9311 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.1965, allocations: 0 / 0.9311 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2591/0.4556, allocations: 9.25 MB / 0.9401 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.4558, allocations: 204.8 kB / 0.9403 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/2.632, allocations: 0 / 0.9403 GB, free: 22.07 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)