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: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.773/1.773, allocations: 287.5 MB / 302.6 MB, free: 8.285 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.001235/0.001235, allocations: 180.7 kB / 371.2 MB, free: 10.73 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.496/1.496, allocations: 205.4 MB / 0.6299 GB, free: 10.5 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.0008354/0.0008357, allocations: 90.36 kB / 0.7432 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000567/0.0005673, allocations: 11 kB / 0.8661 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2192, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01158/0.2308, allocations: 13.19 MB / 0.9915 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00403/0.2349, allocations: 3.385 MB / 0.9949 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.2355, allocations: 11.94 kB / 0.9949 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006394/0.2362, allocations: 151.1 kB / 0.995 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.2375, allocations: 483.6 kB / 0.9955 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.2384, allocations: 287.1 kB / 0.9957 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.2397, allocations: 1.235 MB / 0.9969 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005201/0.2403, allocations: 263.9 kB / 0.9972 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.2409, allocations: 314.7 kB / 0.9975 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.2413, allocations: 282.7 kB / 0.9978 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.2414, allocations: 16 kB / 0.9978 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005351/0.2419, allocations: 147.7 kB / 0.9979 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.242, allocations: 75.66 kB / 0.998 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.2422, allocations: 97.52 kB / 0.9981 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.2427, allocations: 422.9 kB / 0.9985 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2427, allocations: 0 / 0.9985 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2427, allocations: 0 / 0.9985 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.914e-05/0.2427, allocations: 0 / 0.9985 GB, free: 7.805 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.001013/0.2437, allocations: 0.668 MB / 0.9991 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2438, allocations: 8.031 kB / 0.9992 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.244, allocations: 48.45 kB / 0.9992 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006772/0.2446, allocations: 471.1 kB / 0.9996 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.2447, allocations: 28.67 kB / 0.9997 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.2447, allocations: 24 kB / 0.9997 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.2453, allocations: 318.2 kB / 1 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2453, allocations: 3.938 kB / 1 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.2453, allocations: 12 kB / 1 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.2454, allocations: 8 kB / 1 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.2458, allocations: 202.1 kB / 1 GB, free: 5.922 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.001449/0.2472, allocations: 1.489 MB / 1.002 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.2476, allocations: 162.6 kB / 1.002 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2478, allocations: 80.75 kB / 1.002 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.248, allocations: 89.09 kB / 1.002 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.2482, allocations: 129.4 kB / 1.002 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.2483, allocations: 4 kB / 1.002 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005649/0.2488, allocations: 245.1 kB / 1.002 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.2489, allocations: 67.33 kB / 1.002 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.2491, allocations: 333.5 kB / 1.003 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2492, allocations: 29.7 kB / 1.003 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2493, allocations: 211.8 kB / 1.003 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.2493, allocations: 51.3 kB / 1.003 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.2493, allocations: 4 kB / 1.003 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.2494, allocations: 346.8 kB / 1.003 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.2496, allocations: 71.95 kB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.2498, allocations: 157.9 kB / 1.004 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.2502, allocations: 253 kB / 1.004 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2502, allocations: 0 / 1.004 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000527/0.2507, allocations: 323.9 kB / 1.004 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.2507, allocations: 30.02 kB / 1.004 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2508, allocations: 8 kB / 1.004 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.2508, allocations: 7.938 kB / 1.004 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.251, allocations: 63.89 kB / 1.004 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.251, allocations: 7.938 kB / 1.004 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.2513, allocations: 39.67 kB / 1.004 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.2513, allocations: 12 kB / 1.004 GB, free: 1.461 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.0001302/0.2514, allocations: 169.7 kB / 1.004 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.2515, allocations: 31.62 kB / 1.004 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.2519, allocations: 206.4 kB / 1.005 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2519, allocations: 3.938 kB / 1.005 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2519, allocations: 0 / 1.005 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000397/0.2523, allocations: 499.7 kB / 1.005 GB, free: 480 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.2527, allocations: 353.3 kB / 1.005 GB, free: 76 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2527, allocations: 0 / 1.005 GB, free: 76 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2528, allocations: 35.92 kB / 1.006 GB, free: 40 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2529, allocations: 7.984 kB / 1.006 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2529, allocations: 8 kB / 1.006 GB, free: 24 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2529, allocations: 3.938 kB / 1.006 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2529, allocations: 0 / 1.006 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.2535, allocations: 301.4 kB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.2537, allocations: 124.7 kB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.2538, allocations: 4 kB / 1.006 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.254, allocations: 27.91 kB / 1.006 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.2541, allocations: 15.98 kB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.2541, allocations: 7.984 kB / 1.006 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000242/0.2544, allocations: 235.2 kB / 1.006 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2544, allocations: 0 / 1.006 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004003/0.2548, allocations: 119.9 kB / 1.006 GB, free: 15.16 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.0002652/0.255, allocations: 167.1 kB / 1.006 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004867/0.2555, allocations: 244.2 kB / 1.007 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2556, allocations: 0 / 1.007 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.2557, allocations: 71.91 kB / 1.007 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000973/0.2567, allocations: 198.3 kB / 1.007 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.2582, allocations: 0.952 MB / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.2586, allocations: 0.7843 MB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002935/0.2589, allocations: 63.2 kB / 1.009 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.259, allocations: 39.42 kB / 1.009 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.259, allocations: 0 / 1.009 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.01138/0.2704, allocations: 6.34 MB / 1.015 GB, free: 6.328 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)