Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.001716/0.001716, allocations: 113.2 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.001757/0.001757, 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.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.1114/0.1114, allocations: 1.311 MB / 299.2 MB, free: 5.145 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.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.89 kB / 415.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2608, allocations: 49.72 MB / 465.4 MB, free: 24.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.002238/0.2631, allocations: 1.676 MB / 467.1 MB, free: 23.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006936/0.2638, allocations: 0.5342 MB / 467.6 MB, free: 23.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.2638, allocations: 2.875 kB / 467.6 MB, free: 23.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.264, allocations: 18.2 kB / 467.6 MB, free: 23.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.264, allocations: 33.48 kB / 467.7 MB, free: 23.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.2642, allocations: 82.84 kB / 467.7 MB, free: 23.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.2644, allocations: 122.8 kB / 467.9 MB, free: 23.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2645, allocations: 46.55 kB / 467.9 MB, free: 23.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.2646, allocations: 49.91 kB / 468 MB, free: 23.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.2646, allocations: 47.3 kB / 468 MB, free: 23.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.2647, allocations: 5.938 kB / 468 MB, free: 23.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.782e-05/0.2647, allocations: 8.844 kB / 468 MB, free: 23.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.2647, allocations: 18.53 kB / 468 MB, free: 23.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.2648, allocations: 53.98 kB / 468.1 MB, free: 23.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.2649, allocations: 112.2 kB / 468.2 MB, free: 23.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2649, allocations: 3.031 kB / 468.2 MB, free: 23.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2649, allocations: 4 kB / 468.2 MB, free: 23.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2649, allocations: 0 / 468.2 MB, free: 23.11 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004091/0.2653, allocations: 436.5 kB / 468.6 MB, free: 22.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.2654, allocations: 12.95 kB / 468.6 MB, free: 22.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.2654, allocations: 15 kB / 468.7 MB, free: 22.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.2656, allocations: 204.6 kB / 468.9 MB, free: 22.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2656, allocations: 7.469 kB / 468.9 MB, free: 22.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.2656, allocations: 10.69 kB / 468.9 MB, free: 22.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.2658, allocations: 109 kB / 469 MB, free: 22.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2658, allocations: 0 / 469 MB, free: 22.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2658, allocations: 3.125 kB / 469 MB, free: 22.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2658, allocations: 0.5625 kB / 469 MB, free: 22.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.2659, allocations: 41.05 kB / 469 MB, free: 22.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.2665, allocations: 0.5448 MB / 469.6 MB, free: 21.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.749e-05/0.2665, allocations: 47.55 kB / 469.6 MB, free: 21.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.2666, allocations: 23.27 kB / 469.6 MB, free: 21.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.2666, allocations: 0.5156 kB / 469.6 MB, free: 21.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.115e-05/0.2666, allocations: 35.27 kB / 469.7 MB, free: 21.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2666, allocations: 0 / 469.7 MB, free: 21.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001621/0.2668, allocations: 75.2 kB / 469.8 MB, free: 21.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.843e-05/0.2668, allocations: 56.2 kB / 469.8 MB, free: 21.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2669, allocations: 180.5 kB / 470 MB, free: 21.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.904e-06/0.267, allocations: 25.7 kB / 470 MB, free: 21.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.267, allocations: 114.7 kB / 470.1 MB, free: 21.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.267, allocations: 24.33 kB / 470.1 MB, free: 21.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.2671, allocations: 40.69 kB / 470.2 MB, free: 21.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.2671, allocations: 321.9 kB / 470.5 MB, free: 21.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.2672, allocations: 23.62 kB / 470.5 MB, free: 21.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.524e-05/0.2672, allocations: 58.03 kB / 470.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.542e-05/0.2673, allocations: 70.23 kB / 470.6 MB, free: 20.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2673, allocations: 0 / 470.6 MB, free: 20.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001363/0.2674, allocations: 124.8 kB / 470.8 MB, free: 20.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.2675, allocations: 3.219 kB / 470.8 MB, free: 20.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2675, allocations: 11.06 kB / 470.8 MB, free: 20.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2675, allocations: 1.172 kB / 470.8 MB, free: 20.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2676, allocations: 35.31 kB / 470.8 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2676, allocations: 0.7031 kB / 470.8 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.2677, allocations: 21.88 kB / 470.8 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2677, allocations: 3.156 kB / 470.8 MB, free: 20.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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.595e-05/0.2678, allocations: 120.7 kB / 471 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.2678, allocations: 12.05 kB / 471 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.2678, allocations: 17.33 kB / 471 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2678, allocations: 0 / 471 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2678, allocations: 0 / 471 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2679, allocations: 3.844 kB / 471 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.2681, allocations: 353.2 kB / 471.3 MB, free: 20.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2681, allocations: 3.125 kB / 471.3 MB, free: 20.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.2683, allocations: 23.66 kB / 471.4 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2683, allocations: 3.609 kB / 471.4 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2683, allocations: 0 / 471.4 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000647/0.269, allocations: 1.394 MB / 472.8 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.269, allocations: 4.594 kB / 472.8 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.2691, allocations: 183.8 kB / 472.9 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.2692, allocations: 90.33 kB / 473 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.2692, allocations: 4.797 kB / 473 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.2693, allocations: 0 / 473 MB, free: 18.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.2693, allocations: 8.469 kB / 473 MB, free: 18.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.2693, allocations: 4 kB / 473.1 MB, free: 18.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.027e-05/0.2694, allocations: 133.8 kB / 473.2 MB, free: 18.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2694, allocations: 0 / 473.2 MB, free: 18.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.2696, allocations: 24.78 kB / 473.2 MB, free: 18.47 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 (4): * Single equations (assignments): 3 * 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 6.706e-05/0.2697, allocations: 103.5 kB / 473.3 MB, free: 18.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.2699, allocations: 66.88 kB / 473.4 MB, free: 18.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2699, allocations: 0 / 473.4 MB, free: 18.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.2701, allocations: 34.16 kB / 473.4 MB, free: 18.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.2705, allocations: 39.81 kB / 473.4 MB, free: 18.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.2709, allocations: 329.7 kB / 473.8 MB, free: 18.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.2711, allocations: 0.7048 MB / 474.5 MB, free: 17.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.2711, allocations: 14.44 kB / 474.5 MB, free: 17.36 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.2711, allocations: 3.938 kB / 474.5 MB, free: 17.36 MB / 350.1 MB Notification: Performance of Templates: time 0.003518/0.2746, allocations: 1.624 MB / 476.1 MB, free: 17.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.948685421957634] Failed to read output from testmodel.py, exit status != 0: 0.28163404599763453 0.29174683700000004 0.024667833 Calling exit ...