Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.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.001378/0.001378, allocations: 111.6 kB / 17.08 MB, free: 6.012 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.001357/0.001357, allocations: 193.2 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.395/1.395, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] 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.1109/0.1109, allocations: 1.311 MB / 299.2 MB, free: 5.141 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_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.91 kB / 415.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2284, allocations: 49.73 MB / 465.4 MB, free: 24.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002431/0.2309, allocations: 1.78 MB / 467.2 MB, free: 23.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007979/0.2317, allocations: 0.5442 MB / 467.8 MB, free: 23.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.2318, allocations: 3.125 kB / 467.8 MB, free: 23.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.2319, allocations: 18.73 kB / 467.8 MB, free: 23.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.232, allocations: 35.42 kB / 467.8 MB, free: 23.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.2322, allocations: 90.3 kB / 467.9 MB, free: 23.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.2324, allocations: 153.9 kB / 468 MB, free: 23.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.2325, allocations: 50.75 kB / 468.1 MB, free: 23.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.2326, allocations: 54.11 kB / 468.1 MB, free: 23.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.2327, allocations: 58.64 kB / 468.2 MB, free: 23.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.2327, allocations: 12 kB / 468.2 MB, free: 23.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.203e-05/0.2328, allocations: 9.25 kB / 468.2 MB, free: 23.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.2328, allocations: 27.78 kB / 468.3 MB, free: 23.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.2328, allocations: 59.34 kB / 468.3 MB, free: 23.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.233, allocations: 133.9 kB / 468.4 MB, free: 23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.233, allocations: 3.25 kB / 468.4 MB, free: 23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.233, allocations: 0 / 468.4 MB, free: 23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.233, allocations: 0 / 468.4 MB, free: 23 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.0005376/0.2336, allocations: 454 kB / 468.9 MB, free: 22.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2336, allocations: 13.78 kB / 468.9 MB, free: 22.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.2337, allocations: 14.97 kB / 468.9 MB, free: 22.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.2338, allocations: 213.9 kB / 469.1 MB, free: 22.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2339, allocations: 7.562 kB / 469.1 MB, free: 22.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.2339, allocations: 10.88 kB / 469.1 MB, free: 22.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.2342, allocations: 121.4 kB / 469.3 MB, free: 22.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2342, allocations: 4 kB / 469.3 MB, free: 22.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2342, allocations: 8.625 kB / 469.3 MB, free: 22.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.2342, allocations: 3.125 kB / 469.3 MB, free: 22.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.2344, allocations: 71.44 kB / 469.3 MB, free: 22.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.2351, allocations: 0.4961 MB / 469.8 MB, free: 21.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2353, allocations: 71.05 kB / 469.9 MB, free: 21.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.2354, allocations: 38.95 kB / 469.9 MB, free: 21.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2354, allocations: 3.422 kB / 470 MB, free: 21.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2354, allocations: 35.27 kB / 470 MB, free: 21.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2355, allocations: 0 / 470 MB, free: 21.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003874/0.2358, allocations: 132 kB / 470.1 MB, free: 21.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.2359, allocations: 51.41 kB / 470.2 MB, free: 21.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.236, allocations: 174.9 kB / 470.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.236, allocations: 29.7 kB / 470.4 MB, free: 21.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.2361, allocations: 115 kB / 470.5 MB, free: 21.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.2361, allocations: 28.73 kB / 470.5 MB, free: 21.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.2362, allocations: 30.14 kB / 470.5 MB, free: 21.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.2362, allocations: 321.4 kB / 470.8 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.2363, allocations: 36.86 kB / 470.9 MB, free: 20.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.2364, allocations: 61.12 kB / 470.9 MB, free: 20.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.2366, allocations: 88.97 kB / 471 MB, free: 20.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2366, allocations: 0 / 471 MB, free: 20.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002564/0.2369, allocations: 136.3 kB / 471.2 MB, free: 20.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2369, allocations: 6.781 kB / 471.2 MB, free: 20.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2369, allocations: 10.83 kB / 471.2 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.237, allocations: 4.547 kB / 471.2 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.2371, allocations: 34.09 kB / 471.2 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2371, allocations: 0.7969 kB / 471.2 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.2372, allocations: 17.03 kB / 471.2 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.2372, allocations: 2.969 kB / 471.2 MB, free: 20.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 5.823e-05/0.2373, allocations: 124.3 kB / 471.4 MB, free: 20.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.2373, allocations: 7.656 kB / 471.4 MB, free: 20.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.2374, allocations: 25.77 kB / 471.4 MB, free: 20.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2374, allocations: 2.969 kB / 471.4 MB, free: 20.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2374, allocations: 0.6094 kB / 471.4 MB, free: 20.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2374, allocations: 0 / 471.4 MB, free: 20.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.2378, allocations: 394.6 kB / 471.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2378, allocations: 7.125 kB / 471.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.2381, allocations: 32.95 kB / 471.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2381, allocations: 0 / 471.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2381, allocations: 3.531 kB / 471.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000656/0.2387, allocations: 1.396 MB / 473.2 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2388, allocations: 3.938 kB / 473.2 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.2391, allocations: 242.6 kB / 473.5 MB, free: 18.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.2392, allocations: 92.25 kB / 473.6 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.2392, allocations: 0.875 kB / 473.6 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2393, allocations: 6.828 kB / 473.6 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2393, allocations: 13.83 kB / 473.6 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2394, allocations: 4.844 kB / 473.6 MB, free: 18.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.745e-05/0.2394, allocations: 128.6 kB / 473.7 MB, free: 18.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.2394, allocations: 0 / 473.7 MB, free: 18.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.2397, allocations: 35.3 kB / 473.7 MB, free: 18.39 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.476e-05/0.2398, allocations: 105.3 kB / 473.8 MB, free: 18.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.2401, allocations: 80.72 kB / 473.9 MB, free: 18.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2401, allocations: 4.125 kB / 473.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.2403, allocations: 51.22 kB / 474 MB, free: 18.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.2408, allocations: 54.3 kB / 474 MB, free: 18.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.2413, allocations: 357.7 kB / 474.4 MB, free: 17.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.2414, allocations: 0.7117 MB / 475.1 MB, free: 17.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.2415, allocations: 13.47 kB / 475.1 MB, free: 17.26 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2415, allocations: 0 / 475.1 MB, free: 17.26 MB / 350.1 MB Notification: Performance of Templates: time 0.003947/0.2455, allocations: 1.822 MB / 476.9 MB, free: 17.11 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.852876803022809] Failed to read output from testmodel.py, exit status != 0: 0.25242983689531684 0.262573015 0.027454778000000003 Calling exit ...