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.001418/0.001418, allocations: 96.09 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001664/0.001664, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 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.007/1.007, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 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.6308/0.6308, allocations: 115 MB / 375.7 MB, free: 7.68 MB / 346.7 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.563e-06/1.563e-06, allocations: 0 / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.688e-05, allocations: 6.703 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.007858/0.007885, allocations: 7.267 MB / 488.7 MB, free: 7.035 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003036/0.01092, allocations: 2.476 MB / 491.2 MB, free: 5.383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003823/0.0113, allocations: 25.09 kB / 491.2 MB, free: 5.371 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.01172, allocations: 125.4 kB / 491.4 MB, free: 5.309 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009303/0.01265, allocations: 0.5277 MB / 491.9 MB, free: 4.996 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.01324, allocations: 371.7 kB / 492.3 MB, free: 4.801 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.01435, allocations: 1.098 MB / 493.4 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003933/0.01474, allocations: 275.6 kB / 493.6 MB, free: 4.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008604/0.0156, allocations: 0.5116 MB / 494.1 MB, free: 3.891 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.01598, allocations: 290.4 kB / 494.4 MB, free: 3.793 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-05/0.01603, allocations: 32.38 kB / 494.5 MB, free: 3.793 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.01635, allocations: 144.2 kB / 494.6 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.01644, allocations: 104.2 kB / 494.7 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.01659, allocations: 146.9 kB / 494.8 MB, free: 3.629 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006193/0.0172, allocations: 421.2 kB / 495.3 MB, free: 3.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.01721, allocations: 0 / 495.3 MB, free: 3.449 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.01721, allocations: 0 / 495.3 MB, free: 3.449 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.01722, allocations: 1.594 kB / 495.3 MB, free: 3.449 MB / 410.7 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.0009232/0.01814, allocations: 0.7608 MB / 496 MB, free: 2.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.01818, allocations: 13.44 kB / 496 MB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.01836, allocations: 73.78 kB / 496.1 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.01888, allocations: 406.8 kB / 496.5 MB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.0189, allocations: 24.5 kB / 496.5 MB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.01895, allocations: 30.75 kB / 496.6 MB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.0193, allocations: 367.3 kB / 496.9 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01931, allocations: 0 / 496.9 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.01933, allocations: 12.31 kB / 496.9 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.01936, allocations: 10.77 kB / 496.9 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.01953, allocations: 95.69 kB / 497 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.02063, allocations: 1.304 MB / 498.3 MB, free: 17.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.02084, allocations: 100.9 kB / 498.4 MB, free: 17.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.02089, allocations: 33.94 kB / 498.5 MB, free: 17.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.54e-05/0.02098, allocations: 15.03 kB / 498.5 MB, free: 17.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.02114, allocations: 201.5 kB / 498.7 MB, free: 16.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.02115, allocations: 0 / 498.7 MB, free: 16.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002848/0.02143, allocations: 155.2 kB / 498.8 MB, free: 16.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.02146, allocations: 62.03 kB / 498.9 MB, free: 16.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.02171, allocations: 351.7 kB / 499.2 MB, free: 16.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.02173, allocations: 32.48 kB / 499.3 MB, free: 16.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.02186, allocations: 270 kB / 499.5 MB, free: 16.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.02189, allocations: 59.28 kB / 499.6 MB, free: 16.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.02195, allocations: 52.92 kB / 499.6 MB, free: 16.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.02208, allocations: 0.5144 MB / 0.4884 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.02215, allocations: 57.28 kB / 0.4885 GB, free: 15.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.113e-05/0.02224, allocations: 167.3 kB / 0.4886 GB, free: 15.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.02239, allocations: 213 kB / 0.4888 GB, free: 15.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.0224, allocations: 0 / 0.4888 GB, free: 15.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002875/0.02268, allocations: 278.4 kB / 0.4891 GB, free: 15.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.02272, allocations: 33.89 kB / 0.4891 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.02272, allocations: 2.312 kB / 0.4891 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.02274, allocations: 3.562 kB / 0.4891 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.02289, allocations: 58.84 kB / 0.4892 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.0229, allocations: 11.33 kB / 0.4892 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.02302, allocations: 28.16 kB / 0.4892 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.02304, allocations: 13.25 kB / 0.4893 GB, free: 15.04 MB / 426.7 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 9.972e-05/0.02314, allocations: 176 kB / 0.4894 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.02318, allocations: 33.62 kB / 0.4895 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.02336, allocations: 140.3 kB / 0.4896 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.02336, allocations: 1.875 kB / 0.4896 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.02336, allocations: 5.062 kB / 0.4896 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002024/0.02357, allocations: 431.6 kB / 0.49 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.02384, allocations: 258.5 kB / 0.4903 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02384, allocations: 1.562 kB / 0.4903 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.884e-05/0.02393, allocations: 29.58 kB / 0.4903 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.02393, allocations: 5.281 kB / 0.4903 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.02394, allocations: 5.391 kB / 0.4903 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02395, allocations: 1.062 kB / 0.4903 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.02395, allocations: 1.312 kB / 0.4903 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.02419, allocations: 195.8 kB / 0.4905 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.02427, allocations: 50.56 kB / 0.4905 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.02429, allocations: 2.031 kB / 0.4905 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.02439, allocations: 24.5 kB / 0.4906 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.02444, allocations: 11.75 kB / 0.4906 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.02446, allocations: 16.06 kB / 0.4906 GB, free: 13.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.02462, allocations: 234.4 kB / 0.4908 GB, free: 13.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02462, allocations: 0 / 0.4908 GB, free: 13.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.02491, allocations: 118.4 kB / 0.4909 GB, free: 13.79 MB / 426.7 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.0002057/0.02512, allocations: 153.7 kB / 0.4911 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.02538, allocations: 196.1 kB / 0.4913 GB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02538, allocations: 0 / 0.4913 GB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.02547, allocations: 48.11 kB / 0.4913 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.02601, allocations: 206.1 kB / 0.4915 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.02715, allocations: 0.6388 MB / 0.4921 GB, free: 13.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.038e-05/0.02722, allocations: 99.47 kB / 0.4922 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.02739, allocations: 68.16 kB / 0.4923 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.02746, allocations: 37.78 kB / 0.4923 GB, free: 12.98 MB / 426.7 MB Notification: Performance of SimCode: time 6.22e-07/0.02746, allocations: 0 / 0.4923 GB, free: 12.98 MB / 426.7 MB Notification: Performance of Templates: time 0.01008/0.03754, allocations: 6.661 MB / 0.4988 GB, free: 10.44 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.806544667109847]