Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007016/0.0007016, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008531/0.001555, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007707/0.0007707, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008846/0.001655, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9985/0.9985, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.105, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0014/0.0014, allocations: 241 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002711, allocations: 463.6 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6933/0.6933, allocations: 138.7 MB / 384.1 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07701/0.7703, allocations: 42.39 MB / 426.5 MB, free: 5.945 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 427.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.527e-05, allocations: 10.25 kB / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.2216/0.2217, allocations: 7.26 MB / 435 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.2254, allocations: 2.521 MB / 437.6 MB, free: 196 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004067/0.2258, allocations: 23.91 kB / 437.6 MB, free: 184 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.2261, allocations: 123.3 kB / 437.7 MB, free: 136 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.2272, allocations: 0.5264 MB / 438.2 MB, free: 15.9 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/0.228, allocations: 368.6 kB / 438.6 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.2294, allocations: 1.084 MB / 439.7 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007488/0.2301, allocations: 288.6 kB / 439.9 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.2311, allocations: 0.5872 MB / 440.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.2317, allocations: 262.6 kB / 440.8 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.28e-05/0.2318, allocations: 31.94 kB / 440.8 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.2322, allocations: 148.4 kB / 441 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.2323, allocations: 80.36 kB / 441 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.2324, allocations: 119.3 kB / 441.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006755/0.2331, allocations: 369.9 kB / 441.5 MB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.281e-05/0.2331, allocations: 1.438 kB / 441.5 MB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2331, allocations: 0 / 441.5 MB, free: 14.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.78e-05/0.2332, allocations: 2.5 kB / 441.5 MB, free: 14.76 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.0012/0.2344, allocations: 0.7341 MB / 442.3 MB, free: 14.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.2344, allocations: 9.812 kB / 442.3 MB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003613/0.2348, allocations: 139.4 kB / 442.4 MB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.2353, allocations: 314.5 kB / 442.7 MB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.2353, allocations: 25.09 kB / 442.7 MB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.2353, allocations: 27.5 kB / 442.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.2357, allocations: 340.2 kB / 443.1 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2358, allocations: 4.656 kB / 443.1 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.2358, allocations: 11.38 kB / 443.1 MB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.2358, allocations: 12.09 kB / 443.1 MB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.2359, allocations: 75.03 kB / 443.2 MB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.237, allocations: 0.9219 MB / 444.1 MB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.2372, allocations: 82.83 kB / 444.2 MB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.2372, allocations: 26.94 kB / 444.2 MB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-05/0.2373, allocations: 15.52 kB / 444.2 MB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.2375, allocations: 187.9 kB / 444.4 MB, free: 12.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.2375, allocations: 0 / 444.4 MB, free: 12.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001843/0.2376, allocations: 113.3 kB / 444.5 MB, free: 12.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.2377, allocations: 54.44 kB / 444.6 MB, free: 12.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.2379, allocations: 300.9 kB / 444.9 MB, free: 12.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.2379, allocations: 32.98 kB / 444.9 MB, free: 12.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.238, allocations: 190.9 kB / 445.1 MB, free: 12.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.238, allocations: 60.66 kB / 445.2 MB, free: 12.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.2381, allocations: 52.7 kB / 445.2 MB, free: 12.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2383, allocations: 343.3 kB / 445.5 MB, free: 11.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.2383, allocations: 50 kB / 445.6 MB, free: 11.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.2384, allocations: 130.3 kB / 445.7 MB, free: 11.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.2385, allocations: 172.7 kB / 445.9 MB, free: 11.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2385, allocations: 3.219 kB / 445.9 MB, free: 11.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002049/0.2387, allocations: 209.9 kB / 446.1 MB, free: 11.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.2388, allocations: 40.58 kB / 446.1 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2388, allocations: 7.938 kB / 446.1 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2388, allocations: 5.938 kB / 446.2 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.239, allocations: 66.19 kB / 446.2 MB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.239, allocations: 5.094 kB / 446.2 MB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2391, allocations: 28.62 kB / 446.3 MB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.2391, allocations: 13.09 kB / 446.3 MB, free: 11.38 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.085e-05/0.2392, allocations: 133.6 kB / 446.4 MB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.2392, allocations: 28.36 kB / 446.4 MB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.2394, allocations: 110.4 kB / 446.5 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2394, allocations: 2.781 kB / 446.5 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2394, allocations: 1.031 kB / 446.5 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001515/0.2395, allocations: 403.3 kB / 446.9 MB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.2398, allocations: 178.3 kB / 447.1 MB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2398, allocations: 1.438 kB / 447.1 MB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.2399, allocations: 34.98 kB / 447.1 MB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.2399, allocations: 40.19 kB / 447.2 MB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.24, allocations: 2.125 kB / 447.2 MB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.24, allocations: 6.25 kB / 447.2 MB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.24, allocations: 2.016 kB / 447.2 MB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.24, allocations: 0 / 447.2 MB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.2401, allocations: 150.2 kB / 447.3 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.2402, allocations: 5.391 kB / 447.3 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.2403, allocations: 16.84 kB / 447.4 MB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.2403, allocations: 11.41 kB / 447.4 MB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.2403, allocations: 10.8 kB / 447.4 MB, free: 10.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.2404, allocations: 111.5 kB / 447.5 MB, free: 10.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2404, allocations: 0 / 447.5 MB, free: 10.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.2407, allocations: 113 kB / 447.6 MB, free: 10.45 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.0002/0.2409, allocations: 133.9 kB / 447.7 MB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.2412, allocations: 185.3 kB / 447.9 MB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.2412, allocations: 9.141 kB / 447.9 MB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.319e-05/0.2413, allocations: 45.12 kB / 448 MB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.2418, allocations: 237.7 kB / 448.2 MB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.2442, allocations: 0.5845 MB / 448.8 MB, free: 9.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.009e-05/0.2443, allocations: 96.78 kB / 448.9 MB, free: 9.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000181/0.2445, allocations: 50.67 kB / 448.9 MB, free: 9.746 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.2447, allocations: 175.8 kB / 449.1 MB, free: 9.684 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2447, allocations: 1.938 kB / 449.1 MB, free: 9.684 MB / 426.7 MB Notification: Performance of Templates: time 0.01/0.2547, allocations: 7.554 MB / 456.6 MB, free: 4.031 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6707289163023233]