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.00128/0.00128, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001211/0.001211, allocations: 169 kB / 24.25 MB, free: 312 kB / 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.043/1.043, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.6014/0.6014, allocations: 115 MB / 376 MB, free: 7.66 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 2.184e-06/2.184e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.036e-05, allocations: 3.859 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01592/0.01595, allocations: 14.94 MB / 496.4 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005666/0.02162, allocations: 3.704 MB / 0.4884 GB, free: 15.51 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008178/0.02244, allocations: 28.09 kB / 0.4884 GB, free: 15.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007972/0.02323, allocations: 205.1 kB / 0.4886 GB, free: 15.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.02518, allocations: 0.6438 MB / 0.4893 GB, free: 15.01 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.02629, allocations: 408.6 kB / 0.4897 GB, free: 14.79 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.02805, allocations: 1.113 MB / 0.4907 GB, free: 14.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005521/0.0286, allocations: 275.9 kB / 0.491 GB, free: 14.08 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.03016, allocations: 0.5735 MB / 0.4916 GB, free: 13.83 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.0308, allocations: 279.6 kB / 0.4918 GB, free: 13.74 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.871e-05/0.03088, allocations: 31.66 kB / 0.4919 GB, free: 13.74 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.03161, allocations: 219.5 kB / 0.4921 GB, free: 13.67 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.03175, allocations: 107.3 kB / 0.4922 GB, free: 13.6 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.032, allocations: 151.3 kB / 0.4923 GB, free: 13.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.0331, allocations: 464.2 kB / 0.4928 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.03311, allocations: 1.297 kB / 0.4928 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.03311, allocations: 1.281 kB / 0.4928 GB, free: 13.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.03312, allocations: 1.281 kB / 0.4928 GB, free: 13.35 MB / 426.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.001432/0.03455, allocations: 0.7752 MB / 0.4935 GB, free: 12.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.0346, allocations: 10.34 kB / 0.4935 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.0349, allocations: 75.19 kB / 0.4936 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/0.03573, allocations: 411.2 kB / 0.494 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.03576, allocations: 23.69 kB / 0.494 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.03583, allocations: 31.2 kB / 0.494 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.03644, allocations: 375.2 kB / 0.4944 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.03645, allocations: 1.125 kB / 0.4944 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.03649, allocations: 11.95 kB / 0.4944 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.03653, allocations: 6.5 kB / 0.4944 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.03682, allocations: 91.64 kB / 0.4945 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.03861, allocations: 1.294 MB / 0.4958 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.03904, allocations: 97.47 kB / 0.4959 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.03911, allocations: 33.16 kB / 0.4959 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.03923, allocations: 14.31 kB / 0.4959 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.03947, allocations: 198.9 kB / 0.4961 GB, free: 10.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.565e-06/0.03948, allocations: 1.031 kB / 0.4961 GB, free: 10.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004254/0.0399, allocations: 154.6 kB / 0.4963 GB, free: 10.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.03995, allocations: 61.94 kB / 0.4963 GB, free: 10.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.0403, allocations: 359.1 kB / 0.4967 GB, free: 10.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.04033, allocations: 33.11 kB / 0.4967 GB, free: 10.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.04048, allocations: 272 kB / 0.4969 GB, free: 10.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.04052, allocations: 51.52 kB / 0.497 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.0406, allocations: 60.61 kB / 0.4971 GB, free: 10.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.04073, allocations: 0.5141 MB / 0.4976 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-05/0.04082, allocations: 56.47 kB / 0.4976 GB, free: 9.527 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.04094, allocations: 169 kB / 0.4978 GB, free: 9.352 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.04113, allocations: 201.4 kB / 0.498 GB, free: 9.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.04113, allocations: 3.938 kB / 0.498 GB, free: 9.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003248/0.04146, allocations: 275.8 kB / 0.4982 GB, free: 9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.0415, allocations: 33.86 kB / 0.4983 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.04151, allocations: 4.953 kB / 0.4983 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.04153, allocations: 8.25 kB / 0.4983 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.04171, allocations: 50.98 kB / 0.4983 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.04172, allocations: 17.2 kB / 0.4983 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.04189, allocations: 37.2 kB / 0.4984 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.04192, allocations: 13.23 kB / 0.4984 GB, free: 8.93 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 0.0001192/0.04204, allocations: 173.8 kB / 0.4986 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.04208, allocations: 38.34 kB / 0.4986 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.04233, allocations: 137.8 kB / 0.4987 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.04234, allocations: 2.781 kB / 0.4987 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.04234, allocations: 3.938 kB / 0.4987 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002344/0.04258, allocations: 434.9 kB / 0.4991 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.04294, allocations: 250.6 kB / 0.4994 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.04294, allocations: 1.281 kB / 0.4994 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.04304, allocations: 32.05 kB / 0.4994 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.04304, allocations: 1.031 kB / 0.4994 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.04306, allocations: 1.922 kB / 0.4994 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.04306, allocations: 2.75 kB / 0.4994 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.04306, allocations: 0 / 0.4994 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.04333, allocations: 212.3 kB / 0.4996 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.853e-05/0.04342, allocations: 44.8 kB / 0.4997 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.04345, allocations: 3.094 kB / 0.4997 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.04357, allocations: 20.09 kB / 0.4997 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.04363, allocations: 11.88 kB / 0.4997 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.04365, allocations: 16.16 kB / 0.4997 GB, free: 7.844 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.04383, allocations: 235.9 kB / 0.4999 GB, free: 7.703 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04383, allocations: 0 / 0.4999 GB, free: 7.703 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.04422, allocations: 135.6 kB / 0.5001 GB, free: 7.668 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.0002925/0.04451, allocations: 199.9 kB / 0.5003 GB, free: 7.547 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.04476, allocations: 194.5 kB / 0.5004 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.04476, allocations: 0.625 kB / 0.5004 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.04483, allocations: 48.47 kB / 0.5005 GB, free: 7.398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/0.04544, allocations: 202.5 kB / 0.5007 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.04658, allocations: 0.6333 MB / 0.5013 GB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.452e-05/0.04666, allocations: 101.4 kB / 0.5014 GB, free: 6.648 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000159/0.04682, allocations: 60.08 kB / 0.5015 GB, free: 6.602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.04688, allocations: 35.12 kB / 0.5015 GB, free: 6.57 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/0.04688, allocations: 0 / 0.5015 GB, free: 6.57 MB / 426.7 MB Notification: Performance of Templates: time 0.009757/0.05664, allocations: 7.292 MB / 0.5086 GB, free: 0.6992 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.8303998932242393]