Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 101.6 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.3 MB / 0.5495 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.91 kB / 0.6721 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2615, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.5196/0.7812, allocations: 14.43 MB / 0.7981 GB, free: 41.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004598/0.7858, allocations: 3.615 MB / 0.8016 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.7863, allocations: 25.19 kB / 0.8017 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006621/0.787, allocations: 202.7 kB / 0.8019 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.7885, allocations: 0.5757 MB / 0.8024 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.7894, allocations: 386 kB / 0.8028 GB, free: 39.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.7905, allocations: 1.076 MB / 0.8038 GB, free: 38.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004359/0.7909, allocations: 315.7 kB / 0.8041 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.792, allocations: 378.8 kB / 0.8045 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.7924, allocations: 309.7 kB / 0.8048 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.7924, allocations: 33.44 kB / 0.8048 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006033/0.793, allocations: 255.2 kB / 0.8051 GB, free: 38.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.7932, allocations: 99.03 kB / 0.8052 GB, free: 38.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.7934, allocations: 209.1 kB / 0.8054 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009482/0.7943, allocations: 0.5872 MB / 0.8059 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7944, allocations: 1.688 kB / 0.8059 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7944, allocations: 0 / 0.8059 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.7944, allocations: 1.438 kB / 0.8059 GB, free: 37.89 MB / 0.6544 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.00122/0.7956, allocations: 0.734 MB / 0.8067 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.7957, allocations: 12.94 kB / 0.8067 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.7959, allocations: 53.52 kB / 0.8067 GB, free: 37.28 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006903/0.7966, allocations: 441.2 kB / 0.8071 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.7966, allocations: 19.56 kB / 0.8072 GB, free: 36.94 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/0.7967, allocations: 30.28 kB / 0.8072 GB, free: 36.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.7973, allocations: 307.7 kB / 0.8075 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.7974, allocations: 1.312 kB / 0.8075 GB, free: 36.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.7974, allocations: 15.62 kB / 0.8075 GB, free: 36.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.7974, allocations: 7 kB / 0.8075 GB, free: 36.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.798, allocations: 194.8 kB / 0.8077 GB, free: 36.7 MB / 0.6544 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.001871/0.7999, allocations: 1.493 MB / 0.8091 GB, free: 35.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.8004, allocations: 157.9 kB / 0.8093 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.8006, allocations: 64.22 kB / 0.8094 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.8007, allocations: 86.12 kB / 0.8094 GB, free: 35.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.8011, allocations: 126.2 kB / 0.8096 GB, free: 35.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.8011, allocations: 0 / 0.8096 GB, free: 35.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0007188/0.8018, allocations: 234.5 kB / 0.8098 GB, free: 35.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.8018, allocations: 63.33 kB / 0.8098 GB, free: 35.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.8023, allocations: 339.9 kB / 0.8102 GB, free: 34.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.8023, allocations: 33.55 kB / 0.8102 GB, free: 34.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.8025, allocations: 216.2 kB / 0.8104 GB, free: 34.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.662e-05/0.8026, allocations: 50.94 kB / 0.8105 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.8027, allocations: 54.23 kB / 0.8105 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.8028, allocations: 347.7 kB / 0.8108 GB, free: 34.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.803, allocations: 66.72 kB / 0.8109 GB, free: 34.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.8033, allocations: 154.4 kB / 0.8111 GB, free: 34.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.8037, allocations: 241 kB / 0.8113 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8037, allocations: 1.156 kB / 0.8113 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006388/0.8044, allocations: 314.7 kB / 0.8116 GB, free: 33.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.8044, allocations: 34.27 kB / 0.8116 GB, free: 33.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.8045, allocations: 1.719 kB / 0.8116 GB, free: 33.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.8045, allocations: 4.922 kB / 0.8116 GB, free: 33.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.8047, allocations: 58.06 kB / 0.8117 GB, free: 33.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.8048, allocations: 9.469 kB / 0.8117 GB, free: 33.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.805, allocations: 35.36 kB / 0.8117 GB, free: 33.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.8051, allocations: 9.75 kB / 0.8117 GB, free: 33.74 MB / 0.6544 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.0001522/0.8052, allocations: 157.6 kB / 0.8119 GB, free: 33.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.8053, allocations: 33.47 kB / 0.8119 GB, free: 33.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.8058, allocations: 195.2 kB / 0.8121 GB, free: 33.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.8058, allocations: 1.531 kB / 0.8121 GB, free: 33.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.8058, allocations: 13.44 kB / 0.8121 GB, free: 33.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004738/0.8063, allocations: 487.1 kB / 0.8126 GB, free: 33.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.8068, allocations: 350 kB / 0.8129 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8068, allocations: 0 / 0.8129 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.807, allocations: 37.61 kB / 0.8129 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.807, allocations: 1.422 kB / 0.8129 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.8071, allocations: 1.828 kB / 0.8129 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8071, allocations: 3.734 kB / 0.813 GB, free: 32.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8071, allocations: 9.297 kB / 0.813 GB, free: 32.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/0.8078, allocations: 281.8 kB / 0.8132 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.8079, allocations: 125 kB / 0.8133 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.808, allocations: 6.703 kB / 0.8134 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.8082, allocations: 13.22 kB / 0.8134 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.8083, allocations: 25.52 kB / 0.8134 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.8084, allocations: 6.938 kB / 0.8134 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002906/0.8087, allocations: 244.8 kB / 0.8136 GB, free: 32.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8087, allocations: 0 / 0.8136 GB, free: 32.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005479/0.8092, allocations: 121.3 kB / 0.8137 GB, free: 32.31 MB / 0.6544 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.0004067/0.8096, allocations: 196.8 kB / 0.8139 GB, free: 32.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000572/0.8102, allocations: 242.5 kB / 0.8142 GB, free: 32.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8102, allocations: 1.406 kB / 0.8142 GB, free: 32.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.8104, allocations: 66.16 kB / 0.8142 GB, free: 32.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.8115, allocations: 219.8 kB / 0.8144 GB, free: 32.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.813, allocations: 0.7589 MB / 0.8152 GB, free: 31.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.8133, allocations: 0.7827 MB / 0.8159 GB, free: 30.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.8134, allocations: 38.44 kB / 0.816 GB, free: 30.82 MB / 0.6544 GB Notification: Performance of SimCode: time 4.4e-07/0.8134, allocations: 0 / 0.816 GB, free: 30.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.01358/0.827, allocations: 6.11 MB / 0.822 GB, free: 30.23 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)