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.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.0008075/0.0008075, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007913/0.0007913, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8444/0.8444, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo): time 0.003965/0.003965, allocations: 1.029 MB / 261 MB, free: 12.31 MB / 250.7 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 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(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 1.854e-06/1.854e-06, allocations: 0 / 387.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.699e-05, allocations: 4.672 kB / 387.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002157/0.002184, allocations: 1.762 MB / 388.9 MB, free: 8.672 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.002943, allocations: 0.561 MB / 389.5 MB, free: 8.105 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.003008, allocations: 4 kB / 389.5 MB, free: 8.102 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.003145, allocations: 15.8 kB / 389.5 MB, free: 8.086 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.003193, allocations: 31.72 kB / 389.5 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.003409, allocations: 87.88 kB / 389.6 MB, free: 7.969 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.003574, allocations: 171.3 kB / 389.8 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.003704, allocations: 29.8 kB / 389.8 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.564e-05/0.003799, allocations: 83.73 kB / 389.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.003867, allocations: 35.91 kB / 389.9 MB, free: 7.652 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.003891, allocations: 8 kB / 389.9 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.003905, allocations: 12 kB / 389.9 MB, free: 7.633 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.003931, allocations: 35.77 kB / 390 MB, free: 7.598 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.003967, allocations: 39.91 kB / 390 MB, free: 7.559 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.004129, allocations: 131.5 kB / 390.1 MB, free: 7.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004131, allocations: 0 / 390.1 MB, free: 7.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004132, allocations: 0 / 390.1 MB, free: 7.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.004136, allocations: 0 / 390.1 MB, free: 7.43 MB / 314.7 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.0004777/0.004614, allocations: 369.7 kB / 390.5 MB, free: 7.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.004649, allocations: 12.03 kB / 390.5 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.004687, allocations: 16.84 kB / 390.5 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.004867, allocations: 158.2 kB / 390.7 MB, free: 6.828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.004878, allocations: 8.312 kB / 390.7 MB, free: 6.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.004905, allocations: 16.36 kB / 390.7 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.005093, allocations: 115.9 kB / 390.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005101, allocations: 12.11 kB / 390.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.005113, allocations: 4.375 kB / 390.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005119, allocations: 7.938 kB / 390.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.005244, allocations: 63.95 kB / 390.9 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.005763, allocations: 428.2 kB / 391.3 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.005896, allocations: 66.48 kB / 391.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.346e-05/0.00596, allocations: 40.95 kB / 391.4 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.005975, allocations: 4 kB / 391.4 MB, free: 6.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.005995, allocations: 38.56 kB / 391.5 MB, free: 5.973 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.005997, allocations: 0 / 391.5 MB, free: 5.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000263/0.00626, allocations: 117.5 kB / 391.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.006292, allocations: 67.33 kB / 391.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.006405, allocations: 166.7 kB / 391.8 MB, free: 5.602 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.006418, allocations: 33.7 kB / 391.8 MB, free: 5.562 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.006478, allocations: 116 kB / 392 MB, free: 5.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.006497, allocations: 23.78 kB / 392 MB, free: 5.422 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.006536, allocations: 29.72 kB / 392 MB, free: 5.387 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.158e-05/0.006628, allocations: 322.8 kB / 392.3 MB, free: 5.062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.0067, allocations: 31.97 kB / 392.4 MB, free: 5.031 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.006774, allocations: 58.55 kB / 392.4 MB, free: 4.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.006905, allocations: 94.47 kB / 392.5 MB, free: 4.863 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.006907, allocations: 0 / 392.5 MB, free: 4.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001746/0.007082, allocations: 125.5 kB / 392.6 MB, free: 4.734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.007099, allocations: 11.94 kB / 392.6 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.007104, allocations: 0 / 392.6 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.007121, allocations: 3.984 kB / 392.6 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.007238, allocations: 36.05 kB / 392.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.007246, allocations: 4 kB / 392.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.007289, allocations: 15.88 kB / 392.7 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.007296, allocations: 4 kB / 392.7 MB, free: 4.66 MB / 314.7 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 8.267e-05/0.007378, allocations: 125.7 kB / 392.8 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.007397, allocations: 7.953 kB / 392.8 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.007423, allocations: 13.47 kB / 392.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007425, allocations: 0 / 392.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.00743, allocations: 0 / 392.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.007437, allocations: 11.92 kB / 392.9 MB, free: 4.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.007803, allocations: 335 kB / 393.2 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.007806, allocations: 0 / 393.2 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.00796, allocations: 28.3 kB / 393.2 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.007964, allocations: 7.922 kB / 393.2 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.007975, allocations: 4 kB / 393.2 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000811/0.008786, allocations: 1.282 MB / 394.5 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008787, allocations: 0 / 394.5 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.009024, allocations: 236.2 kB / 394.7 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.009052, allocations: 15.97 kB / 394.8 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.009061, allocations: 4 kB / 394.8 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.278e-05/0.009113, allocations: 12.2 kB / 394.8 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.009153, allocations: 11.92 kB / 394.8 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.009158, allocations: 4 kB / 394.8 MB, free: 2.414 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.018e-05/0.009218, allocations: 119.2 kB / 394.9 MB, free: 2.297 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009218, allocations: 0 / 394.9 MB, free: 2.297 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.009389, allocations: 27.89 kB / 394.9 MB, free: 2.27 MB / 314.7 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.895e-05/0.009478, allocations: 101.7 kB / 395 MB, free: 2.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004074/0.009885, allocations: 79.94 kB / 395.1 MB, free: 2.082 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.009887, allocations: 0 / 395.1 MB, free: 2.082 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.01003, allocations: 59.83 kB / 395.2 MB, free: 2.023 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.01033, allocations: 37.27 kB / 395.2 MB, free: 1.988 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.01079, allocations: 312.9 kB / 395.5 MB, free: 1.648 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.54e-05/0.01086, allocations: 113.3 kB / 395.6 MB, free: 1.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.01089, allocations: 16.48 kB / 395.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01089, allocations: 0 / 395.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of Templates: time 0.002545/0.01344, allocations: 1.872 MB / 397.5 MB, free: 15.64 MB / 330.7 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 -variableFilter=.* -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: 4.1895724488422275] Failed to read output from testmodel.py, exit status != 0: 0.018312668427824974 0.026187431 0.020434076000000002 Calling exit ...