Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007532/0.0007532, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.001888, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007563/0.0007563, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001797, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9839/0.9839, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.088, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.937/1.937, allocations: 390 MB / 0.6193 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4624/2.4, allocations: 127.1 MB / 0.7435 GB, free: 4.539 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7448 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.879e-05, allocations: 3.078 kB / 0.7448 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.007985/0.008004, allocations: 7.322 MB / 0.7519 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003764/0.01177, allocations: 2.515 MB / 0.7544 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.01216, allocations: 31.75 kB / 0.7544 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.01249, allocations: 123 kB / 0.7545 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0009373/0.01343, allocations: 0.5326 MB / 0.7551 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.014, allocations: 360.1 kB / 0.7554 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.01503, allocations: 1.087 MB / 0.7565 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006693/0.0157, allocations: 300 kB / 0.7568 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007937/0.01649, allocations: 0.5787 MB / 0.7573 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.01686, allocations: 264 kB / 0.7576 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.01691, allocations: 32 kB / 0.7576 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.0172, allocations: 141.1 kB / 0.7577 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.01728, allocations: 83.66 kB / 0.7578 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.0174, allocations: 127.8 kB / 0.7579 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004981/0.01789, allocations: 366.7 kB / 0.7583 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.01791, allocations: 0.6562 kB / 0.7583 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.423e-06/0.01791, allocations: 4 kB / 0.7583 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.01792, allocations: 0.6875 kB / 0.7583 GB, free: 5.457 MB / 0.7292 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.0008591/0.01878, allocations: 0.7207 MB / 0.759 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.01881, allocations: 12.03 kB / 0.759 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.019, allocations: 134.8 kB / 0.7591 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.01939, allocations: 315.7 kB / 0.7594 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.01941, allocations: 16.88 kB / 0.7595 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.01946, allocations: 29.25 kB / 0.7595 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.01978, allocations: 359.8 kB / 0.7598 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.0198, allocations: 0.75 kB / 0.7598 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.01982, allocations: 12 kB / 0.7598 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.01984, allocations: 16.48 kB / 0.7599 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.01995, allocations: 67.25 kB / 0.7599 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008919/0.02084, allocations: 0.9435 MB / 0.7608 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.02099, allocations: 79.59 kB / 0.7609 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.02103, allocations: 28.84 kB / 0.7609 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.628e-05/0.02109, allocations: 8.812 kB / 0.7609 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.02125, allocations: 192.1 kB / 0.7611 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.315e-06/0.02125, allocations: 0.9375 kB / 0.7611 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001669/0.02142, allocations: 105.6 kB / 0.7612 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.02146, allocations: 64.34 kB / 0.7613 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.02164, allocations: 288.6 kB / 0.7616 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.02167, allocations: 33.7 kB / 0.7616 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.02177, allocations: 197.8 kB / 0.7618 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.0218, allocations: 55.52 kB / 0.7618 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.02186, allocations: 63.53 kB / 0.7619 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.02194, allocations: 346.7 kB / 0.7622 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.507e-05/0.02199, allocations: 45.69 kB / 0.7623 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.02207, allocations: 127.1 kB / 0.7624 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.02224, allocations: 179.2 kB / 0.7626 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.02224, allocations: 0 / 0.7626 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001791/0.02242, allocations: 211.4 kB / 0.7628 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.02245, allocations: 37.69 kB / 0.7628 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.02246, allocations: 4 kB / 0.7628 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.02248, allocations: 5 kB / 0.7628 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.02266, allocations: 67.91 kB / 0.7629 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.02266, allocations: 4.875 kB / 0.7629 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.02277, allocations: 32.61 kB / 0.7629 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.02278, allocations: 11.98 kB / 0.7629 GB, free: 356 kB / 0.7292 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 8.75e-05/0.02287, allocations: 137.4 kB / 0.7631 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.0229, allocations: 19.98 kB / 0.7631 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.02304, allocations: 107.7 kB / 0.7632 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.02304, allocations: 7.938 kB / 0.7632 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.02304, allocations: 1.156 kB / 0.7632 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001587/0.0232, allocations: 407.7 kB / 0.7636 GB, free: 15.58 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.0234, allocations: 176.5 kB / 0.7637 GB, free: 15.39 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.0234, allocations: 1.688 kB / 0.7637 GB, free: 15.39 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.0235, allocations: 39.97 kB / 0.7638 GB, free: 15.35 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.02356, allocations: 35.73 kB / 0.7638 GB, free: 15.32 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.02357, allocations: 0 / 0.7638 GB, free: 15.32 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.02358, allocations: 6.75 kB / 0.7638 GB, free: 15.31 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.02358, allocations: 4 kB / 0.7638 GB, free: 15.31 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.02358, allocations: 0 / 0.7638 GB, free: 15.31 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.02375, allocations: 149 kB / 0.764 GB, free: 15.14 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.02377, allocations: 8.047 kB / 0.764 GB, free: 15.14 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.02387, allocations: 15.97 kB / 0.764 GB, free: 15.12 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.02391, allocations: 17.94 kB / 0.764 GB, free: 15.11 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.02392, allocations: 7.984 kB / 0.764 GB, free: 15.1 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 9.078e-05/0.02401, allocations: 115.4 kB / 0.7641 GB, free: 14.98 MB / 0.7449 GB Notification: Performance of sort global known variables: time 1.31e-07/0.02401, allocations: 0 / 0.7641 GB, free: 14.98 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0003266/0.02434, allocations: 111.7 kB / 0.7642 GB, free: 14.88 MB / 0.7449 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.0002076/0.02454, allocations: 136.2 kB / 0.7644 GB, free: 14.74 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.02472, allocations: 183.6 kB / 0.7645 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.02473, allocations: 4.5 kB / 0.7645 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 5.815e-05/0.02479, allocations: 48.8 kB / 0.7646 GB, free: 14.49 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.02555, allocations: 1.309 MB / 0.7659 GB, free: 12.94 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.02804, allocations: 0.5872 MB / 0.7664 GB, free: 12.32 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.02809, allocations: 93.55 kB / 0.7665 GB, free: 12.21 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.02826, allocations: 61.7 kB / 0.7666 GB, free: 12.16 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.02851, allocations: 170.2 kB / 0.7668 GB, free: 11.99 MB / 0.7449 GB Notification: Performance of SimCode: time 1.032e-06/0.02851, allocations: 0 / 0.7668 GB, free: 11.99 MB / 0.7449 GB Notification: Performance of Templates: time 0.009488/0.038, allocations: 7.54 MB / 0.7741 GB, free: 4.742 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.062209518626332]