Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_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.001274/0.001274, allocations: 79.75 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.001628/0.001628, allocations: 162.9 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.427/1.427, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.008064/0.008064, allocations: 1.04 MB / 260.2 MB, free: 15.74 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.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 387.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.205e-05, allocations: 2.281 kB / 387.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.00346/0.003492, allocations: 1.665 MB / 388.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.00474, allocations: 0.5493 MB / 389.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.004836, allocations: 4 kB / 389.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.004989, allocations: 19.73 kB / 389.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.468e-05/0.005073, allocations: 31.72 kB / 389.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.005358, allocations: 91.83 kB / 389.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.005625, allocations: 155.4 kB / 389.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.005775, allocations: 33.94 kB / 389.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.005906, allocations: 71.8 kB / 389.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.969e-05/0.005996, allocations: 35.89 kB / 389.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.006032, allocations: 12 kB / 389.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.193e-05/0.006054, allocations: 8 kB / 389.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.006088, allocations: 23.86 kB / 389.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.006143, allocations: 35.91 kB / 389.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.006341, allocations: 115.6 kB / 390 MB, free: 12.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.006346, allocations: 7.984 kB / 390 MB, free: 12.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006347, allocations: 0 / 390 MB, free: 12.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.006357, allocations: 0 / 390 MB, free: 12.54 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.0006094/0.006966, allocations: 361.6 kB / 390.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.007005, allocations: 12.03 kB / 390.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.007056, allocations: 12.84 kB / 390.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.007287, allocations: 146.2 kB / 390.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.007303, allocations: 8.375 kB / 390.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.007338, allocations: 12.38 kB / 390.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.007552, allocations: 114.6 kB / 390.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.007563, allocations: 192 / 390.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.007576, allocations: 384 / 390.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.007583, allocations: 11.88 kB / 390.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.007683, allocations: 39.98 kB / 390.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008873/0.008571, allocations: 412.2 kB / 391.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.008733, allocations: 58.56 kB / 391.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.008783, allocations: 24.98 kB / 391.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.008798, allocations: 4 kB / 391.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.008833, allocations: 30.56 kB / 391.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.008834, allocations: 0 / 391.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002454/0.009079, allocations: 89.52 kB / 391.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.009126, allocations: 51.41 kB / 391.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.009321, allocations: 175.4 kB / 391.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.009341, allocations: 25.7 kB / 391.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.59e-05/0.009437, allocations: 119.9 kB / 391.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.009464, allocations: 23.78 kB / 391.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.009519, allocations: 37.7 kB / 391.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.009677, allocations: 318.8 kB / 392.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.009726, allocations: 20 kB / 392.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.0098, allocations: 47.42 kB / 392.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.009912, allocations: 67.38 kB / 392.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009914, allocations: 0 / 392.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001839/0.0101, allocations: 109.6 kB / 392.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01011, allocations: 8.031 kB / 392.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.01012, allocations: 4 kB / 392.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01014, allocations: 0 / 392.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.01042, allocations: 39.91 kB / 392.4 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.01165, allocations: 1.29 MB / 393.7 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/0.01171, allocations: 12.11 kB / 393.7 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.01175, allocations: 7.938 kB / 393.7 MB, free: 8.594 MB / 318.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 (12): * Single equations (assignments): 11 * 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.0001231/0.01188, allocations: 121.8 kB / 393.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.01192, allocations: 15.84 kB / 393.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.01195, allocations: 12.78 kB / 393.8 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01195, allocations: 0 / 393.8 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.01195, allocations: 0 / 393.8 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01196, allocations: 3.984 kB / 393.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.01238, allocations: 307 kB / 394.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01239, allocations: 0 / 394.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.01261, allocations: 31.97 kB / 394.2 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01261, allocations: 3.938 kB / 394.2 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.01263, allocations: 8 kB / 394.2 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.01373, allocations: 1.274 MB / 395.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01373, allocations: 0 / 395.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.01396, allocations: 208.3 kB / 395.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.01401, allocations: 15.94 kB / 395.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.01403, allocations: 0 / 395.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.0141, allocations: 4 kB / 395.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.01413, allocations: 7.922 kB / 395.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.01414, allocations: 4 kB / 395.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.01423, allocations: 115.2 kB / 395.8 MB, free: 6.309 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01423, allocations: 0 / 395.8 MB, free: 6.309 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.0145, allocations: 28.09 kB / 395.8 MB, free: 6.281 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.0001244/0.01463, allocations: 102.3 kB / 395.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.01488, allocations: 59.91 kB / 396 MB, free: 6.117 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01488, allocations: 0 / 396 MB, free: 6.117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.015, allocations: 35.92 kB / 396 MB, free: 6.082 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.01545, allocations: 48.64 kB / 396.1 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.01613, allocations: 289.4 kB / 396.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.01623, allocations: 94.28 kB / 396.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.908e-05/0.0163, allocations: 16.61 kB / 396.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.01635, allocations: 12.5 kB / 396.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01635, allocations: 0 / 396.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of Templates: time 0.004755/0.0211, allocations: 1.406 MB / 397.9 MB, free: 4.242 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD -l=1 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.188209101557732] Failed to read output from testmodel.py, exit status != 0: 0.030486132949590683 0.045548684000000006 0.035875981 Calling exit ...