Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_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.001553/0.001553, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.001583/0.001583, allocations: 194.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.421/1.421, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.1253/0.1253, allocations: 1.306 MB / 299.2 MB, free: 4.723 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.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 59.91 kB / 415.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2285, allocations: 49.73 MB / 465.4 MB, free: 25.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.002419/0.2309, allocations: 1.959 MB / 467.4 MB, free: 23.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008006/0.2317, allocations: 0.561 MB / 467.9 MB, free: 23.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.2318, allocations: 3.031 kB / 467.9 MB, free: 23.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.232, allocations: 27.7 kB / 468 MB, free: 23.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.232, allocations: 31.48 kB / 468 MB, free: 23.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.2323, allocations: 96.75 kB / 468.1 MB, free: 23.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.2325, allocations: 181.6 kB / 468.3 MB, free: 23.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2326, allocations: 62.47 kB / 468.3 MB, free: 23.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.013e-05/0.2327, allocations: 64.09 kB / 468.4 MB, free: 23.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.201e-05/0.2328, allocations: 64.05 kB / 468.5 MB, free: 22.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.2328, allocations: 13.69 kB / 468.5 MB, free: 22.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.2328, allocations: 12.59 kB / 468.5 MB, free: 22.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.2329, allocations: 30 kB / 468.5 MB, free: 22.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.2329, allocations: 75 kB / 468.6 MB, free: 22.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.2331, allocations: 155.5 kB / 468.7 MB, free: 22.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2331, allocations: 0 / 468.7 MB, free: 22.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2331, allocations: 0.5156 kB / 468.7 MB, free: 22.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2331, allocations: 0 / 468.7 MB, free: 22.84 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005037/0.2336, allocations: 473.1 kB / 469.2 MB, free: 22.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.2337, allocations: 12.89 kB / 469.2 MB, free: 22.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.2337, allocations: 22.53 kB / 469.2 MB, free: 22.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.2339, allocations: 231.3 kB / 469.5 MB, free: 22.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.234, allocations: 10.5 kB / 469.5 MB, free: 22.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.234, allocations: 10.59 kB / 469.5 MB, free: 22.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.2342, allocations: 135.5 kB / 469.6 MB, free: 22.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2342, allocations: 0 / 469.6 MB, free: 22.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2342, allocations: 6.969 kB / 469.6 MB, free: 22.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2343, allocations: 2.938 kB / 469.6 MB, free: 22.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.2344, allocations: 69.16 kB / 469.7 MB, free: 22.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.235, allocations: 0.5302 MB / 470.2 MB, free: 21.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.2352, allocations: 90.19 kB / 470.3 MB, free: 21.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.803e-05/0.2353, allocations: 43.14 kB / 470.3 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.2353, allocations: 3.984 kB / 470.4 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.2354, allocations: 35.11 kB / 470.4 MB, free: 21.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.2354, allocations: 0 / 470.4 MB, free: 21.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000287/0.2357, allocations: 127.4 kB / 470.5 MB, free: 21.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.2357, allocations: 63.12 kB / 470.6 MB, free: 21.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.2358, allocations: 181.4 kB / 470.8 MB, free: 21.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.2358, allocations: 30.88 kB / 470.8 MB, free: 21.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.2359, allocations: 124.4 kB / 470.9 MB, free: 21.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.2359, allocations: 33.61 kB / 470.9 MB, free: 21.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.236, allocations: 41.33 kB / 471 MB, free: 21.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.236, allocations: 330.7 kB / 471.3 MB, free: 20.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.2361, allocations: 37.3 kB / 471.3 MB, free: 20.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-05/0.2362, allocations: 68.05 kB / 471.4 MB, free: 20.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2363, allocations: 92.03 kB / 471.5 MB, free: 20.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2363, allocations: 0 / 471.5 MB, free: 20.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002088/0.2366, allocations: 148.5 kB / 471.6 MB, free: 20.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2366, allocations: 3.312 kB / 471.6 MB, free: 20.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2366, allocations: 3.062 kB / 471.6 MB, free: 20.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2366, allocations: 0.7031 kB / 471.6 MB, free: 20.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.2368, allocations: 40.84 kB / 471.7 MB, free: 20.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2368, allocations: 0.8438 kB / 471.7 MB, free: 20.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.2369, allocations: 15.08 kB / 471.7 MB, free: 20.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.2369, allocations: 3.219 kB / 471.7 MB, free: 20.49 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 (18): * Single equations (assignments): 18 * 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 6.453e-05/0.237, allocations: 137.2 kB / 471.8 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.237, allocations: 18.5 kB / 471.9 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.237, allocations: 11.42 kB / 471.9 MB, free: 20.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.237, allocations: 3.344 kB / 471.9 MB, free: 20.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.237, allocations: 1.078 kB / 471.9 MB, free: 20.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2371, allocations: 0 / 471.9 MB, free: 20.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.2375, allocations: 426.8 kB / 472.3 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2375, allocations: 0 / 472.3 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.2377, allocations: 40.42 kB / 472.3 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2377, allocations: 0 / 472.3 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2377, allocations: 1.156 kB / 472.3 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006333/0.2384, allocations: 1.399 MB / 473.7 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2384, allocations: 3.984 kB / 473.7 MB, free: 18.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.2386, allocations: 246 kB / 474 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.2387, allocations: 93.55 kB / 474.1 MB, free: 18.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.2387, allocations: 5.656 kB / 474.1 MB, free: 18.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.2388, allocations: 14.8 kB / 474.1 MB, free: 18.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.2389, allocations: 10.42 kB / 474.1 MB, free: 18.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.2389, allocations: 2.844 kB / 474.1 MB, free: 18.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.574e-05/0.239, allocations: 135.8 kB / 474.2 MB, free: 18.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.239, allocations: 0 / 474.2 MB, free: 18.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.2392, allocations: 39.95 kB / 474.3 MB, free: 18.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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.387e-05/0.2393, allocations: 102.3 kB / 474.4 MB, free: 17.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.2395, allocations: 89.25 kB / 474.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2396, allocations: 0 / 474.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.2398, allocations: 58.83 kB / 474.5 MB, free: 17.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.2402, allocations: 58.08 kB / 474.6 MB, free: 17.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.2408, allocations: 409.2 kB / 475 MB, free: 17.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.241, allocations: 0.7159 MB / 475.7 MB, free: 16.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.241, allocations: 19.78 kB / 475.7 MB, free: 16.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.241, allocations: 1.438 kB / 475.7 MB, free: 16.91 MB / 350.1 MB Notification: Performance of Templates: time 0.004174/0.2452, allocations: 2.073 MB / 477.8 MB, free: 16.74 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.866993693984114] Failed to read output from testmodel.py, exit status != 0: 0.25277040794026107 0.262973725 0.027426365 Calling exit ...