Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 191.7 kB / 22.1 MB, free: 4.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 207.6 MB / 232.8 MB, free: 2.832 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4645/0.4645, allocations: 55.68 MB / 340.7 MB, free: 11.54 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 81.39 kB / 482 MB, free: 36.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1593, allocations: 62.88 MB / 0.5321 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Storage.Examples.ExpansionVessel): time 0.01853/0.1778, allocations: 14.41 MB / 0.5462 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005757/0.1836, allocations: 3.51 MB / 0.5496 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006346/0.1842, allocations: 27.75 kB / 0.5497 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007607/0.185, allocations: 210.7 kB / 0.5499 GB, free: 8.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.1868, allocations: 0.5986 MB / 0.5505 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.188, allocations: 353.2 kB / 0.5508 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.19, allocations: 1.052 MB / 0.5518 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005711/0.1905, allocations: 228 kB / 0.552 GB, free: 6.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.1919, allocations: 392.1 kB / 0.5524 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006564/0.1926, allocations: 306.7 kB / 0.5527 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.663e-05/0.1927, allocations: 32 kB / 0.5527 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.1933, allocations: 231.5 kB / 0.553 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.1935, allocations: 99.55 kB / 0.553 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.1938, allocations: 203 kB / 0.5532 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.195, allocations: 0.5488 MB / 0.5538 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.195, allocations: 0 / 0.5538 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.195, allocations: 0 / 0.5538 GB, free: 4.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.195, allocations: 3.938 kB / 0.5538 GB, free: 4.805 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001482/0.1965, allocations: 0.6548 MB / 0.5544 GB, free: 4.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1966, allocations: 16.03 kB / 0.5544 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.1968, allocations: 48.69 kB / 0.5545 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008283/0.1976, allocations: 360.5 kB / 0.5548 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.1977, allocations: 16.5 kB / 0.5548 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-05/0.1977, allocations: 24 kB / 0.5549 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.1984, allocations: 298 kB / 0.5551 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1984, allocations: 0 / 0.5551 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.1984, allocations: 12 kB / 0.5552 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.1985, allocations: 15.98 kB / 0.5552 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.199, allocations: 185.6 kB / 0.5554 GB, free: 3.102 MB / 414.1 MB 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.001933/0.2009, allocations: 1.387 MB / 0.5567 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.2014, allocations: 174.5 kB / 0.5569 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.2016, allocations: 76.81 kB / 0.5569 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.2027, allocations: 0.4885 MB / 0.5574 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.203, allocations: 127.3 kB / 0.5575 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.203, allocations: 0 / 0.5575 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007251/0.2037, allocations: 233.2 kB / 0.5578 GB, free: 480 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.2038, allocations: 51.41 kB / 0.5578 GB, free: 416 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.2042, allocations: 341.7 kB / 0.5581 GB, free: 64 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.2042, allocations: 33.7 kB / 0.5582 GB, free: 24 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.2044, allocations: 208.1 kB / 0.5584 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.2044, allocations: 55.58 kB / 0.5584 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.2045, allocations: 53.89 kB / 0.5585 GB, free: 15.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2047, allocations: 334.8 kB / 0.5588 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.2049, allocations: 68.19 kB / 0.5589 GB, free: 15.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.2052, allocations: 158.2 kB / 0.559 GB, free: 15.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.2056, allocations: 250.2 kB / 0.5593 GB, free: 14.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2056, allocations: 0 / 0.5593 GB, free: 14.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006598/0.2063, allocations: 306.8 kB / 0.5595 GB, free: 14.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.2063, allocations: 33.7 kB / 0.5596 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2063, allocations: 320 / 0.5596 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2064, allocations: 8 kB / 0.5596 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2066, allocations: 55.91 kB / 0.5596 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.2066, allocations: 7.984 kB / 0.5596 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.2068, allocations: 31.78 kB / 0.5597 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.2069, allocations: 15.98 kB / 0.5597 GB, free: 14.36 MB / 430.1 MB 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 (28): * Single equations (assignments): 27 * 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.0001862/0.207, allocations: 159.7 kB / 0.5598 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.2071, allocations: 35.75 kB / 0.5599 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.2076, allocations: 204.3 kB / 0.5601 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2076, allocations: 7.938 kB / 0.5601 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2076, allocations: 0 / 0.5601 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000555/0.2082, allocations: 479.8 kB / 0.5605 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.2086, allocations: 343 kB / 0.5609 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2086, allocations: 0 / 0.5609 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.2088, allocations: 47.88 kB / 0.5609 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2088, allocations: 0 / 0.5609 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.2088, allocations: 8 kB / 0.5609 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2088, allocations: 0 / 0.5609 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2088, allocations: 0 / 0.5609 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.2096, allocations: 293.6 kB / 0.5612 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2097, allocations: 51.75 kB / 0.5612 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.2097, allocations: 4 kB / 0.5612 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.2099, allocations: 19.92 kB / 0.5613 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.21, allocations: 15.97 kB / 0.5613 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.21, allocations: 8 kB / 0.5613 GB, free: 12.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002714/0.2103, allocations: 243.2 kB / 0.5615 GB, free: 12.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2103, allocations: 0 / 0.5615 GB, free: 12.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.2107, allocations: 123.7 kB / 0.5616 GB, free: 12.19 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * 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.0003967/0.2111, allocations: 191.1 kB / 0.5618 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005408/0.2117, allocations: 215.2 kB / 0.562 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2117, allocations: 0 / 0.562 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.2119, allocations: 76.58 kB / 0.5621 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.2129, allocations: 210.5 kB / 0.5623 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.2144, allocations: 0.7321 MB / 0.563 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.2149, allocations: 0.7873 MB / 0.5638 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002642/0.2151, allocations: 67.12 kB / 0.5639 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.2152, allocations: 35.42 kB / 0.5639 GB, free: 9.82 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2152, allocations: 0 / 0.5639 GB, free: 9.82 MB / 430.1 MB Notification: Performance of Templates: time 0.01559/0.2308, allocations: 7.189 MB / 0.5709 GB, free: 2.688 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.sim & ./Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.861122978851199] Failed to read output from testmodel.py, exit status != 0: 0.23973796796053648 0.257751726 0.05908606 Calling exit ...