Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.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.001548/0.001548, allocations: 108 kB / 17.08 MB, free: 6.016 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.001571/0.001572, allocations: 197.1 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.1158/0.1158, allocations: 1.312 MB / 299.2 MB, free: 4.672 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 59.91 kB / 415.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2397, allocations: 49.72 MB / 465.4 MB, free: 25.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002586/0.2423, allocations: 1.793 MB / 467.2 MB, free: 24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007872/0.2431, allocations: 0.5472 MB / 467.8 MB, free: 23.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.2432, allocations: 2.969 kB / 467.8 MB, free: 23.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.2434, allocations: 22.25 kB / 467.8 MB, free: 23.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.2434, allocations: 32.77 kB / 467.8 MB, free: 23.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.2436, allocations: 82.7 kB / 467.9 MB, free: 23.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.2438, allocations: 173.6 kB / 468.1 MB, free: 23.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2439, allocations: 47.05 kB / 468.1 MB, free: 23.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.453e-05/0.244, allocations: 52.59 kB / 468.2 MB, free: 23.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/0.2441, allocations: 57.47 kB / 468.2 MB, free: 23.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.2441, allocations: 9.188 kB / 468.2 MB, free: 23.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.039e-05/0.2441, allocations: 13.25 kB / 468.3 MB, free: 23.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.2442, allocations: 27.56 kB / 468.3 MB, free: 23.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.2442, allocations: 60.47 kB / 468.3 MB, free: 23.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.2444, allocations: 133.8 kB / 468.5 MB, free: 23.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2444, allocations: 3.25 kB / 468.5 MB, free: 23.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2444, allocations: 0 / 468.5 MB, free: 23.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2444, allocations: 0 / 468.5 MB, free: 23.25 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005195/0.245, allocations: 456.4 kB / 468.9 MB, free: 22.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.245, allocations: 13.14 kB / 468.9 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.245, allocations: 22.19 kB / 469 MB, free: 22.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2452, allocations: 216.3 kB / 469.2 MB, free: 22.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2452, allocations: 8.297 kB / 469.2 MB, free: 22.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.2453, allocations: 6.969 kB / 469.2 MB, free: 22.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.2455, allocations: 119.2 kB / 469.3 MB, free: 22.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2455, allocations: 0 / 469.3 MB, free: 22.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2455, allocations: 12.59 kB / 469.3 MB, free: 22.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2456, allocations: 2.906 kB / 469.3 MB, free: 22.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.2458, allocations: 65.7 kB / 469.4 MB, free: 22.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006358/0.2464, allocations: 0.4978 MB / 469.9 MB, free: 22.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.2466, allocations: 73.61 kB / 469.9 MB, free: 22.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2467, allocations: 37.89 kB / 470 MB, free: 22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2467, allocations: 0 / 470 MB, free: 22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.2468, allocations: 35.36 kB / 470 MB, free: 21.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.2468, allocations: 3.188 kB / 470 MB, free: 21.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003853/0.2472, allocations: 125.8 kB / 470.1 MB, free: 21.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.2472, allocations: 54.47 kB / 470.2 MB, free: 21.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2473, allocations: 174.4 kB / 470.4 MB, free: 21.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.2473, allocations: 25.7 kB / 470.4 MB, free: 21.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.2474, allocations: 118.9 kB / 470.5 MB, free: 21.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.2474, allocations: 24.48 kB / 470.5 MB, free: 21.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.2475, allocations: 33.66 kB / 470.6 MB, free: 21.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.2475, allocations: 325.5 kB / 470.9 MB, free: 21.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.2476, allocations: 31.33 kB / 470.9 MB, free: 21.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.2477, allocations: 68.66 kB / 471 MB, free: 21.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.248, allocations: 105.8 kB / 471.1 MB, free: 21.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.248, allocations: 4 kB / 471.1 MB, free: 21.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002761/0.2482, allocations: 147.9 kB / 471.2 MB, free: 20.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2483, allocations: 8.656 kB / 471.2 MB, free: 20.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2483, allocations: 7.312 kB / 471.2 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2483, allocations: 0.6094 kB / 471.2 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.2486, allocations: 40.95 kB / 471.3 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006583/0.2492, allocations: 1.401 MB / 472.7 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.019e-05/0.2493, allocations: 20.56 kB / 472.7 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2493, allocations: 4.688 kB / 472.7 MB, free: 19.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/0.2494, allocations: 124.5 kB / 472.8 MB, free: 19.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.2495, allocations: 12.84 kB / 472.8 MB, free: 19.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.2495, allocations: 18.14 kB / 472.9 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2495, allocations: 1.219 kB / 472.9 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2495, allocations: 0 / 472.9 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2495, allocations: 4.672 kB / 472.9 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.25, allocations: 395.3 kB / 473.3 MB, free: 19.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.25, allocations: 5.672 kB / 473.3 MB, free: 19.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.2502, allocations: 33.86 kB / 473.3 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2502, allocations: 0 / 473.3 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2502, allocations: 2.359 kB / 473.3 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005621/0.2508, allocations: 1.409 MB / 474.7 MB, free: 17.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2508, allocations: 0 / 474.7 MB, free: 17.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.2511, allocations: 240.1 kB / 474.9 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.2512, allocations: 94.98 kB / 475 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2512, allocations: 8.312 kB / 475 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.2513, allocations: 4.906 kB / 475 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.2513, allocations: 5.375 kB / 475.1 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2514, allocations: 3.094 kB / 475.1 MB, free: 17.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.833e-05/0.2514, allocations: 126.5 kB / 475.2 MB, free: 17.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2514, allocations: 0 / 475.2 MB, free: 17.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000258/0.2517, allocations: 30.19 kB / 475.2 MB, free: 17.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (tank.l) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.001e-05/0.2518, allocations: 102.9 kB / 475.3 MB, free: 17.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004243/0.2522, allocations: 102.1 kB / 475.4 MB, free: 17.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2522, allocations: 0 / 475.4 MB, free: 17.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.2525, allocations: 56.16 kB / 475.5 MB, free: 17.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.2529, allocations: 50.06 kB / 475.5 MB, free: 17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.2535, allocations: 377.3 kB / 475.9 MB, free: 16.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.2536, allocations: 0.7072 MB / 476.6 MB, free: 16.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.2536, allocations: 16.97 kB / 476.6 MB, free: 16 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2536, allocations: 0 / 476.6 MB, free: 16 MB / 350.1 MB Notification: Performance of Templates: time 0.003975/0.2576, allocations: 2.086 MB / 478.7 MB, free: 15.84 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.130188966984861] Failed to read output from testmodel.py, exit status != 0: 0.26448939205147326 0.27398056400000004 0.027432908000000002 Calling exit ...