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.0008283/0.0008283, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002755/0.003584, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008806/0.0008806, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003931/0.004812, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9534/0.9534, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08835/1.042, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.956/1.956, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5221/2.478, allocations: 127.1 MB / 0.7432 GB, free: 4.609 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.803e-06/1.803e-06, allocations: 0 / 0.7445 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.599e-05, allocations: 7.812 kB / 0.7445 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.008413/0.008439, allocations: 7.317 MB / 0.7516 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003967/0.01241, allocations: 2.523 MB / 0.7541 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003883/0.01279, allocations: 23.81 kB / 0.7541 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.01316, allocations: 127.6 kB / 0.7542 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0009422/0.0141, allocations: 0.5249 MB / 0.7547 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.01473, allocations: 366.8 kB / 0.7551 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009419/0.01567, allocations: 1.086 MB / 0.7561 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006264/0.01629, allocations: 301.3 kB / 0.7564 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007028/0.017, allocations: 0.5841 MB / 0.757 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.01731, allocations: 267.1 kB / 0.7573 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.01735, allocations: 32.5 kB / 0.7573 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.01762, allocations: 144.6 kB / 0.7574 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.0177, allocations: 79.67 kB / 0.7575 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.01781, allocations: 125.1 kB / 0.7576 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.01831, allocations: 374.7 kB / 0.758 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-05/0.01833, allocations: 0 / 0.758 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.182e-06/0.01833, allocations: 0 / 0.758 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.01834, allocations: 0.8125 kB / 0.758 GB, free: 5.535 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.0008289/0.01917, allocations: 0.7242 MB / 0.7587 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.01921, allocations: 8.031 kB / 0.7587 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.0194, allocations: 142.5 kB / 0.7588 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.01977, allocations: 311.8 kB / 0.7591 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.01979, allocations: 22.06 kB / 0.7591 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.01983, allocations: 28.38 kB / 0.7592 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.02014, allocations: 351.8 kB / 0.7595 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.02015, allocations: 1.344 kB / 0.7595 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.02017, allocations: 12 kB / 0.7595 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.02019, allocations: 8 kB / 0.7595 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.02032, allocations: 74.05 kB / 0.7596 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009407/0.02126, allocations: 0.945 MB / 0.7605 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.02142, allocations: 74.53 kB / 0.7606 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.02145, allocations: 21.47 kB / 0.7606 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.363e-05/0.02151, allocations: 8.531 kB / 0.7606 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.02168, allocations: 202.8 kB / 0.7608 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.806e-06/0.02168, allocations: 1.594 kB / 0.7608 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001682/0.02185, allocations: 106.9 kB / 0.7609 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.02188, allocations: 55.41 kB / 0.761 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.02214, allocations: 300.5 kB / 0.7613 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.02216, allocations: 29.7 kB / 0.7613 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.02225, allocations: 202 kB / 0.7615 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.02228, allocations: 59.5 kB / 0.7615 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.02234, allocations: 49.64 kB / 0.7616 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.02242, allocations: 347.6 kB / 0.7619 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.02246, allocations: 53.69 kB / 0.762 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/0.02254, allocations: 124.1 kB / 0.7621 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.02266, allocations: 175.2 kB / 0.7622 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.02267, allocations: 0 / 0.7622 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000175/0.02284, allocations: 211.6 kB / 0.7625 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.02288, allocations: 37.69 kB / 0.7625 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.02288, allocations: 0 / 0.7625 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.02289, allocations: 4 kB / 0.7625 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.02308, allocations: 65.72 kB / 0.7626 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.02308, allocations: 4 kB / 0.7626 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.0232, allocations: 31.83 kB / 0.7626 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.02321, allocations: 17.7 kB / 0.7626 GB, free: 444 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.628e-05/0.0233, allocations: 132.5 kB / 0.7627 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.02346, allocations: 23.97 kB / 0.7628 GB, free: 276 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.0236, allocations: 117.7 kB / 0.7629 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.0236, allocations: 0 / 0.7629 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.0236, allocations: 0 / 0.7629 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001628/0.02377, allocations: 403.7 kB / 0.7633 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.02396, allocations: 176.5 kB / 0.7634 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.02396, allocations: 0 / 0.7634 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.02406, allocations: 39.91 kB / 0.7635 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.02413, allocations: 39.73 kB / 0.7635 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.02413, allocations: 3.031 kB / 0.7635 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.02414, allocations: 4 kB / 0.7635 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.02414, allocations: 0 / 0.7635 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.02415, allocations: 4 kB / 0.7635 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.02431, allocations: 148.8 kB / 0.7636 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.02434, allocations: 4 kB / 0.7637 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.02443, allocations: 15.98 kB / 0.7637 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.02448, allocations: 21.41 kB / 0.7637 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.02449, allocations: 7.984 kB / 0.7637 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.211e-05/0.02457, allocations: 115.4 kB / 0.7638 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.02457, allocations: 0 / 0.7638 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002384/0.02481, allocations: 121.1 kB / 0.7639 GB, free: 14.96 MB / 0.7448 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.0001964/0.02501, allocations: 130.8 kB / 0.764 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.02518, allocations: 173.5 kB / 0.7642 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.02519, allocations: 4 kB / 0.7642 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.005e-05/0.02524, allocations: 55.33 kB / 0.7643 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.02568, allocations: 222.4 kB / 0.7645 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.02829, allocations: 0.576 MB / 0.765 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.02834, allocations: 96.59 kB / 0.7651 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.02851, allocations: 62.47 kB / 0.7652 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.02877, allocations: 178.2 kB / 0.7654 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of SimCode: time 9.31e-07/0.02878, allocations: 3.938 kB / 0.7654 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of Templates: time 0.009786/0.03856, allocations: 7.524 MB / 0.7727 GB, free: 6.176 MB / 0.7448 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.199836995452642]