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.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.001424/0.001424, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001494/0.001494, allocations: 165.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.416/1.416, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.007999/0.007999, allocations: 1.035 MB / 260.2 MB, free: 15.75 MB / 254.1 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_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 2.395e-06/2.395e-06, allocations: 0 / 386.4 MB, free: 204 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.512e-05, allocations: 6.281 kB / 386.4 MB, free: 196 kB / 302.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.005066/0.005101, allocations: 1.758 MB / 388.2 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.007035, allocations: 0.5572 MB / 388.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.007165, allocations: 0 / 388.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.007377, allocations: 23.73 kB / 388.7 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.007528, allocations: 31.72 kB / 388.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.008016, allocations: 87.88 kB / 388.9 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.00855, allocations: 179.3 kB / 389 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.008785, allocations: 33.78 kB / 389.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.00905, allocations: 79.75 kB / 389.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.009231, allocations: 43.88 kB / 389.2 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.009284, allocations: 12 kB / 389.2 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.126e-05/0.009325, allocations: 8 kB / 389.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.009388, allocations: 23.86 kB / 389.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.009502, allocations: 43.84 kB / 389.3 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.009865, allocations: 127.5 kB / 389.4 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.00987, allocations: 0 / 389.4 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.009872, allocations: 4 kB / 389.4 MB, free: 13.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.009883, allocations: 0 / 389.4 MB, free: 13.17 MB / 318.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.001173/0.01106, allocations: 381.6 kB / 389.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.01111, allocations: 8.031 kB / 389.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.638e-05/0.01121, allocations: 16.84 kB / 389.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.0116, allocations: 155.6 kB / 390 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.01166, allocations: 8.375 kB / 390 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.01171, allocations: 16.38 kB / 390 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.01214, allocations: 115.9 kB / 390.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.01215, allocations: 4.125 kB / 390.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.01217, allocations: 4.375 kB / 390.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.01219, allocations: 15.86 kB / 390.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.0126, allocations: 67.94 kB / 390.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.01382, allocations: 428.2 kB / 390.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.01414, allocations: 70.48 kB / 390.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.01434, allocations: 32.97 kB / 390.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.01436, allocations: 0 / 390.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.01442, allocations: 34.56 kB / 390.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.01442, allocations: 0 / 390.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007884/0.01521, allocations: 125.5 kB / 390.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.01529, allocations: 55.34 kB / 390.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.01558, allocations: 174.7 kB / 391.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.01562, allocations: 29.7 kB / 391.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.01576, allocations: 119.9 kB / 391.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.01581, allocations: 23.8 kB / 391.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.01592, allocations: 29.7 kB / 391.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.01615, allocations: 322.8 kB / 391.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.01636, allocations: 35.97 kB / 391.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.01659, allocations: 64.02 kB / 391.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.01703, allocations: 100.2 kB / 391.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01703, allocations: 4 kB / 391.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005755/0.01761, allocations: 141.4 kB / 391.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.01763, allocations: 8.125 kB / 391.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01764, allocations: 0 / 391.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.01767, allocations: 4 kB / 391.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.01812, allocations: 39.91 kB / 392 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.02016, allocations: 1.282 MB / 393.3 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.02032, allocations: 12.06 kB / 393.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.02033, allocations: 7.938 kB / 393.3 MB, free: 8.98 MB / 318.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 0.0001923/0.02052, allocations: 128.5 kB / 393.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.02059, allocations: 16.09 kB / 393.4 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.02064, allocations: 17.47 kB / 393.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.02064, allocations: 3.984 kB / 393.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.02065, allocations: 4 kB / 393.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.02065, allocations: 0 / 393.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.02156, allocations: 339 kB / 393.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.02157, allocations: 0 / 393.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.02195, allocations: 35.91 kB / 393.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.02196, allocations: 0 / 393.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.02197, allocations: 0 / 393.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.02367, allocations: 1.282 MB / 395.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.02367, allocations: 3.938 kB / 395.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007521/0.02442, allocations: 232.3 kB / 395.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.02449, allocations: 15.94 kB / 395.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.02452, allocations: 4 kB / 395.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.02471, allocations: 12.17 kB / 395.4 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.02477, allocations: 11.92 kB / 395.4 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.02478, allocations: 4 kB / 395.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.02495, allocations: 119.2 kB / 395.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02495, allocations: 3.938 kB / 395.5 MB, free: 6.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005073/0.02546, allocations: 27.94 kB / 395.5 MB, free: 6.578 MB / 318.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 0.0001562/0.02561, allocations: 99.19 kB / 395.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.02623, allocations: 92.06 kB / 395.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02623, allocations: 0 / 395.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.02652, allocations: 47.95 kB / 395.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.02722, allocations: 38.64 kB / 395.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009832/0.02821, allocations: 298.1 kB / 396.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.02837, allocations: 101.4 kB / 396.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.93e-05/0.02847, allocations: 17.09 kB / 396.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.02854, allocations: 20.44 kB / 396.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.02854, allocations: 0 / 396.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of Templates: time 0.008509/0.03705, allocations: 1.595 MB / 397.8 MB, free: 4.281 MB / 318.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 -variableFilter=.* -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: 4.199701376259327] Failed to read output from testmodel.py, exit status != 0: 0.05192490667104721 0.074383207 0.060211705000000004 Calling exit ...