Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001326/0.001326, allocations: 84.64 kB / 19.94 MB, free: 1.777 MB / 14.72 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.00148/0.00148, allocations: 163.5 kB / 23.22 MB, free: 4.902 MB / 14.72 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 1.395/1.395, allocations: 177.1 MB / 203.5 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8929/0.8929, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5546 GB, free: 2.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.364e-05, allocations: 6.75 kB / 0.5547 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01541/0.01544, allocations: 13.41 MB / 0.5677 GB, free: 5.195 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005167/0.0206, allocations: 3.393 MB / 0.5711 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/0.02096, allocations: 23.81 kB / 0.5711 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.02159, allocations: 214.6 kB / 0.5713 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.02298, allocations: 0.637 MB / 0.5719 GB, free: 0.918 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009227/0.0239, allocations: 409.9 kB / 0.5723 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.02518, allocations: 1.11 MB / 0.5734 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.02557, allocations: 248.9 kB / 0.5736 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.02674, allocations: 0.5696 MB / 0.5742 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.02713, allocations: 279.1 kB / 0.5744 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.043e-05/0.02719, allocations: 32 kB / 0.5745 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.02761, allocations: 219.5 kB / 0.5747 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.02774, allocations: 103.5 kB / 0.5748 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.02795, allocations: 155.7 kB / 0.5749 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008619/0.02882, allocations: 0.6114 MB / 0.5755 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.02882, allocations: 0 / 0.5755 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02882, allocations: 0 / 0.5755 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.02883, allocations: 0 / 0.5755 GB, free: 13.21 MB / 494.1 MB 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.001151/0.02998, allocations: 0.6777 MB / 0.5762 GB, free: 12.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.03001, allocations: 8.625 kB / 0.5762 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.0302, allocations: 52.64 kB / 0.5762 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006922/0.03089, allocations: 404 kB / 0.5766 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.03092, allocations: 32.61 kB / 0.5767 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.03097, allocations: 24 kB / 0.5767 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006508/0.03162, allocations: 420 kB / 0.5771 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.03164, allocations: 0 / 0.5771 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.03167, allocations: 19.92 kB / 0.5771 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.03169, allocations: 4 kB / 0.5771 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.03216, allocations: 193.8 kB / 0.5773 GB, free: 11.3 MB / 494.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.001574/0.03373, allocations: 1.093 MB / 0.5784 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.03417, allocations: 150.5 kB / 0.5785 GB, free: 9.992 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.03434, allocations: 68.19 kB / 0.5786 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.141e-05/0.03443, allocations: 8 kB / 0.5786 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.03477, allocations: 230.1 kB / 0.5788 GB, free: 9.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.03477, allocations: 0 / 0.5788 GB, free: 9.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006465/0.03542, allocations: 233.3 kB / 0.579 GB, free: 9.422 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.03548, allocations: 55.34 kB / 0.5791 GB, free: 9.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.03586, allocations: 328.5 kB / 0.5794 GB, free: 9.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.03589, allocations: 33.7 kB / 0.5794 GB, free: 8.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.03607, allocations: 228.3 kB / 0.5796 GB, free: 8.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.03612, allocations: 51.53 kB / 0.5797 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.812e-05/0.03621, allocations: 57.66 kB / 0.5797 GB, free: 8.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.03636, allocations: 342.8 kB / 0.5801 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.03657, allocations: 93.66 kB / 0.5802 GB, free: 8.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.03684, allocations: 183 kB / 0.5803 GB, free: 7.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.03728, allocations: 239 kB / 0.5806 GB, free: 7.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.03729, allocations: 4 kB / 0.5806 GB, free: 7.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006382/0.03793, allocations: 342.2 kB / 0.5809 GB, free: 7.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.03797, allocations: 37.69 kB / 0.5809 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.03797, allocations: 4 kB / 0.5809 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.03799, allocations: 4 kB / 0.5809 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.03821, allocations: 56.22 kB / 0.581 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.03822, allocations: 7.938 kB / 0.581 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.03845, allocations: 31.83 kB / 0.581 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.03848, allocations: 12 kB / 0.581 GB, free: 7.195 MB / 494.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 (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.0001738/0.03865, allocations: 172.9 kB / 0.5812 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.03871, allocations: 27.81 kB / 0.5812 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.03918, allocations: 188.5 kB / 0.5814 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.03919, allocations: 4 kB / 0.5814 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.03919, allocations: 3.938 kB / 0.5814 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00056/0.03975, allocations: 494.4 kB / 0.5819 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.04012, allocations: 257 kB / 0.5821 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.04012, allocations: 0 / 0.5821 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.04029, allocations: 27.98 kB / 0.5822 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.04029, allocations: 0 / 0.5822 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.04031, allocations: 7.984 kB / 0.5822 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.04031, allocations: 4 kB / 0.5822 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.04031, allocations: 0 / 0.5822 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006567/0.04097, allocations: 288.6 kB / 0.5824 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.04108, allocations: 47.86 kB / 0.5825 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/0.04113, allocations: 4 kB / 0.5825 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.04135, allocations: 19.95 kB / 0.5825 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.04143, allocations: 19.97 kB / 0.5825 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.04145, allocations: 11.94 kB / 0.5825 GB, free: 5.504 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.0417, allocations: 231 kB / 0.5828 GB, free: 5.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0417, allocations: 0 / 0.5828 GB, free: 5.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.04212, allocations: 123.7 kB / 0.5829 GB, free: 5.156 MB / 494.1 MB 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.0003562/0.04248, allocations: 203 kB / 0.5831 GB, free: 4.949 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.04301, allocations: 248.8 kB / 0.5833 GB, free: 4.688 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.04301, allocations: 0.625 kB / 0.5833 GB, free: 4.688 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.04323, allocations: 63.91 kB / 0.5834 GB, free: 4.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009005/0.04413, allocations: 190.6 kB / 0.5836 GB, free: 4.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.04539, allocations: 0.661 MB / 0.5842 GB, free: 3.762 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.04556, allocations: 189.1 kB / 0.5844 GB, free: 3.559 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.04575, allocations: 62.31 kB / 0.5844 GB, free: 3.496 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.04584, allocations: 36.48 kB / 0.5845 GB, free: 3.461 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.04584, allocations: 0 / 0.5845 GB, free: 3.461 MB / 494.1 MB Notification: Performance of Templates: time 0.01374/0.05958, allocations: 7.158 MB / 0.5915 GB, free: 12.5 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.43079137429595] Failed to read output from testmodel.py, exit status != 0: 0.06809914857149124 0.08189168000000001 0.050072839 Calling exit ...