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: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.838/1.838, allocations: 288.4 MB / 303.7 MB, free: 8.156 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.00124/0.001241, allocations: 180.5 kB / 372.3 MB, free: 10.11 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.419/1.419, allocations: 205.4 MB / 0.631 GB, free: 9.852 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.0007706/0.0007706, allocations: 103.3 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 17.03 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1957, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01082/0.2066, allocations: 13.2 MB / 0.993 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004019/0.2106, allocations: 3.377 MB / 0.9963 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005137/0.2112, allocations: 15.94 kB / 0.9963 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.2117, allocations: 147.1 kB / 0.9965 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.2131, allocations: 0.5053 MB / 0.997 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008201/0.2139, allocations: 292 kB / 0.9972 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.2151, allocations: 1.235 MB / 0.9984 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.2156, allocations: 259.9 kB / 0.9987 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005231/0.2161, allocations: 314.7 kB / 0.999 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.2165, allocations: 278.7 kB / 0.9993 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.2165, allocations: 12 kB / 0.9993 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.217, allocations: 223.5 kB / 0.9995 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.75e-05/0.217, allocations: 75.66 kB / 0.9995 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.2172, allocations: 204.8 kB / 0.9997 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.2176, allocations: 446.9 kB / 1 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2176, allocations: 0 / 1 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2176, allocations: 0 / 1 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.2176, allocations: 0 / 1 GB, free: 6.715 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.000829/0.2184, allocations: 0.6646 MB / 1.001 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2185, allocations: 12.03 kB / 1.001 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.2186, allocations: 44.47 kB / 1.001 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.2192, allocations: 479.1 kB / 1.001 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.2192, allocations: 24.69 kB / 1.001 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.2193, allocations: 24 kB / 1.001 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.2197, allocations: 318.2 kB / 1.002 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2198, allocations: 0 / 1.002 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.2198, allocations: 12 kB / 1.002 GB, free: 5.043 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.2198, allocations: 4 kB / 1.002 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.2202, allocations: 210 kB / 1.002 GB, free: 4.832 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.00135/0.2216, allocations: 1.485 MB / 1.003 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.222, allocations: 162.6 kB / 1.004 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.2221, allocations: 80.81 kB / 1.004 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.2222, allocations: 81.11 kB / 1.004 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.2225, allocations: 141.8 kB / 1.004 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.2225, allocations: 0 / 1.004 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005295/0.223, allocations: 249.1 kB / 1.004 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.2231, allocations: 55.39 kB / 1.004 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.2233, allocations: 333.5 kB / 1.004 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.2234, allocations: 33.7 kB / 1.004 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.2235, allocations: 215.7 kB / 1.005 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.2235, allocations: 55.28 kB / 1.005 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.2235, allocations: 4 kB / 1.005 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.2236, allocations: 342.8 kB / 1.005 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.2237, allocations: 75.94 kB / 1.005 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.2239, allocations: 153.9 kB / 1.005 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.2243, allocations: 262.3 kB / 1.005 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2243, allocations: 0 / 1.005 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004695/0.2248, allocations: 318.8 kB / 1.006 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.2248, allocations: 37.64 kB / 1.006 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2248, allocations: 4 kB / 1.006 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.2248, allocations: 11.88 kB / 1.006 GB, free: 492 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.2251, allocations: 55.91 kB / 1.006 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2251, allocations: 4 kB / 1.006 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.2253, allocations: 43.91 kB / 1.006 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.2253, allocations: 12 kB / 1.006 GB, free: 376 kB / 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.0001207/0.2255, allocations: 169.6 kB / 1.006 GB, free: 196 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.2255, allocations: 31.62 kB / 1.006 GB, free: 164 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.226, allocations: 204.5 kB / 1.006 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.226, allocations: 7.922 kB / 1.006 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.226, allocations: 0 / 1.006 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004926/0.2265, allocations: 0.49 MB / 1.007 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.2269, allocations: 357.3 kB / 1.007 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2269, allocations: 0 / 1.007 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.2271, allocations: 27.98 kB / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2271, allocations: 0 / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2271, allocations: 8 kB / 1.007 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2271, allocations: 7.922 kB / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2271, allocations: 0 / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.2277, allocations: 292.5 kB / 1.007 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.2279, allocations: 132.7 kB / 1.008 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.2279, allocations: 4 kB / 1.008 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2282, allocations: 23.92 kB / 1.008 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.2282, allocations: 23.91 kB / 1.008 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2283, allocations: 7.984 kB / 1.008 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000226/0.2285, allocations: 231.2 kB / 1.008 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2285, allocations: 0 / 1.008 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003921/0.2289, allocations: 123.9 kB / 1.008 GB, free: 14.07 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.0002982/0.2292, allocations: 187.2 kB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004764/0.2297, allocations: 235.7 kB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2297, allocations: 3.938 kB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.2299, allocations: 81.28 kB / 1.008 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.2308, allocations: 192.5 kB / 1.009 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.2322, allocations: 0.9403 MB / 1.01 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.2326, allocations: 0.7921 MB / 1.01 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002868/0.2329, allocations: 67.17 kB / 1.01 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.233, allocations: 35.36 kB / 1.01 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/0.233, allocations: 4 kB / 1.01 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of Templates: time 0.01076/0.2437, allocations: 6.434 MB / 1.017 GB, free: 5.141 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)