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.753/1.753, allocations: 288.3 MB / 303.2 MB, free: 8.195 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.00112/0.00112, allocations: 189 kB / 371.8 MB, free: 10.28 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.498/1.498, allocations: 205.4 MB / 0.6306 GB, free: 9.988 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.0009533/0.0009534, allocations: 89.12 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004861, allocations: 12.19 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2352, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01119/0.2465, allocations: 12.12 MB / 0.9912 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004116/0.2506, allocations: 3.144 MB / 0.9943 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004822/0.2512, allocations: 15.88 kB / 0.9943 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.2518, allocations: 207 kB / 0.9945 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.2531, allocations: 0.558 MB / 0.9951 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.2545, allocations: 469.5 kB / 0.9955 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008035/0.2553, allocations: 0.64 MB / 0.9961 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.2557, allocations: 235.2 kB / 0.9964 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.256, allocations: 275 kB / 0.9966 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.2562, allocations: 191.1 kB / 0.9968 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.2563, allocations: 16 kB / 0.9968 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.2567, allocations: 167.8 kB / 0.997 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.424e-05/0.2568, allocations: 67.67 kB / 0.9971 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.2569, allocations: 101.5 kB / 0.9972 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.2572, allocations: 422.9 kB / 0.9976 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2573, allocations: 0 / 0.9976 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2573, allocations: 0 / 0.9976 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2573, allocations: 0 / 0.9976 GB, free: 9.062 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.0009308/0.2582, allocations: 0.6756 MB / 0.9982 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2583, allocations: 12.02 kB / 0.9982 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.2584, allocations: 47.52 kB / 0.9983 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.259, allocations: 422 kB / 0.9987 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.259, allocations: 20.52 kB / 0.9987 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.2591, allocations: 28 kB / 0.9987 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.2595, allocations: 318.1 kB / 0.999 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2596, allocations: 4 kB / 0.999 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.2596, allocations: 12 kB / 0.999 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.2596, allocations: 4 kB / 0.999 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.26, allocations: 206 kB / 0.9992 GB, free: 7.223 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.001433/0.2615, allocations: 1.501 MB / 1.001 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.2619, allocations: 158.6 kB / 1.001 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.262, allocations: 93.09 kB / 1.001 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.2623, allocations: 127.3 kB / 1.001 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.2623, allocations: 0 / 1.001 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006363/0.263, allocations: 250.1 kB / 1.001 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.263, allocations: 51.41 kB / 1.001 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.2634, allocations: 357.6 kB / 1.002 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.2634, allocations: 33.7 kB / 1.002 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.2636, allocations: 223.6 kB / 1.002 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/0.2636, allocations: 55.3 kB / 1.002 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.2637, allocations: 4 kB / 1.002 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2638, allocations: 342.8 kB / 1.002 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.264, allocations: 75.94 kB / 1.002 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.2642, allocations: 161.8 kB / 1.003 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.2644, allocations: 117.7 kB / 1.003 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2644, allocations: 0 / 1.003 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005021/0.2649, allocations: 319.7 kB / 1.003 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.265, allocations: 33.7 kB / 1.003 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.265, allocations: 7.984 kB / 1.003 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.265, allocations: 4 kB / 1.003 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.2652, allocations: 64.22 kB / 1.003 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.2653, allocations: 4 kB / 1.003 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.2655, allocations: 39.67 kB / 1.003 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.2656, allocations: 15.98 kB / 1.003 GB, free: 2.965 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.0001646/0.2657, allocations: 169.7 kB / 1.003 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.2658, allocations: 31.62 kB / 1.003 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.2662, allocations: 205.4 kB / 1.004 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2662, allocations: 0 / 1.004 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.2662, allocations: 0 / 1.004 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004105/0.2667, allocations: 0.4889 MB / 1.004 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.2671, allocations: 361.2 kB / 1.004 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2671, allocations: 0 / 1.004 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.2672, allocations: 35.92 kB / 1.004 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.2673, allocations: 8 kB / 1.004 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.2673, allocations: 3.984 kB / 1.004 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2673, allocations: 0 / 1.004 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2673, allocations: 0 / 1.004 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.2679, allocations: 301.9 kB / 1.005 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.2681, allocations: 128.7 kB / 1.005 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.2681, allocations: 4 kB / 1.005 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.2684, allocations: 19.97 kB / 1.005 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.2685, allocations: 23.91 kB / 1.005 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.2685, allocations: 12 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000219/0.2687, allocations: 247.2 kB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2687, allocations: 0 / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004555/0.2692, allocations: 135.9 kB / 1.005 GB, free: 0.6406 MB / 0.6198 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.0004044/0.2696, allocations: 199 kB / 1.005 GB, free: 448 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004758/0.2701, allocations: 237.1 kB / 1.006 GB, free: 200 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2701, allocations: 0 / 1.006 GB, free: 200 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.2703, allocations: 78 kB / 1.006 GB, free: 124 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.2713, allocations: 204.1 kB / 1.006 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.2728, allocations: 0.9404 MB / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.2732, allocations: 0.7962 MB / 1.008 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002747/0.2734, allocations: 75.11 kB / 1.008 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/0.2735, allocations: 31.44 kB / 1.008 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of SimCode: time 4.3e-07/0.2735, allocations: 0 / 1.008 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of Templates: time 0.0117/0.2852, allocations: 6.72 MB / 1.014 GB, free: 7.395 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)