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.0007734/0.0007734, allocations: 76.55 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.0007952/0.0007952, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8483/0.8483, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.004368/0.004368, allocations: 1.027 MB / 261 MB, free: 12.32 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.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.623e-06/1.623e-06, allocations: 0 / 387.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.906e-05, allocations: 6.219 kB / 387.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.002228/0.002257, allocations: 1.672 MB / 389.6 MB, free: 9.141 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008625/0.00312, allocations: 0.5416 MB / 390.2 MB, free: 8.594 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.003188, allocations: 0 / 390.2 MB, free: 8.594 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.003325, allocations: 15.8 kB / 390.2 MB, free: 8.578 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.003374, allocations: 35.66 kB / 390.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.003614, allocations: 91.77 kB / 390.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.003785, allocations: 151.4 kB / 390.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.003922, allocations: 41.97 kB / 390.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.292e-05/0.003995, allocations: 71.8 kB / 390.6 MB, free: 8.184 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.004067, allocations: 27.91 kB / 390.6 MB, free: 8.156 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.004093, allocations: 12 kB / 390.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.004105, allocations: 8 kB / 390.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.00413, allocations: 31.84 kB / 390.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.004162, allocations: 31.92 kB / 390.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.004302, allocations: 123.5 kB / 390.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004304, allocations: 0 / 390.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004305, allocations: 4 kB / 390.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.00431, allocations: 4 kB / 390.8 MB, free: 7.945 MB / 362.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.0006758/0.004985, allocations: 353.7 kB / 391.1 MB, free: 7.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.005018, allocations: 12.03 kB / 391.2 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.005054, allocations: 24.77 kB / 391.2 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.005211, allocations: 150.1 kB / 391.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.005222, allocations: 8.375 kB / 391.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.005247, allocations: 12.38 kB / 391.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.005391, allocations: 99.89 kB / 391.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.005399, allocations: 192 / 391.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.005411, allocations: 12.38 kB / 391.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.005416, allocations: 3.938 kB / 391.5 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/0.005486, allocations: 43.92 kB / 391.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.005962, allocations: 412.3 kB / 391.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/0.006062, allocations: 62.56 kB / 392 MB, free: 6.668 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.006096, allocations: 28.92 kB / 392 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.006106, allocations: 0 / 392 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.006123, allocations: 34.56 kB / 392 MB, free: 6.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.006124, allocations: 0 / 392 MB, free: 6.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001647/0.006289, allocations: 85.59 kB / 392.1 MB, free: 6.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.006316, allocations: 55.41 kB / 392.2 MB, free: 6.438 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.006423, allocations: 162.2 kB / 392.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.006434, allocations: 25.7 kB / 392.3 MB, free: 6.238 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.006488, allocations: 123.9 kB / 392.5 MB, free: 6.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.006503, allocations: 23.8 kB / 392.5 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.006539, allocations: 29.7 kB / 392.5 MB, free: 6.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.006613, allocations: 322.8 kB / 392.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/0.006644, allocations: 23.94 kB / 392.9 MB, free: 5.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.006684, allocations: 47.42 kB / 392.9 MB, free: 5.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.127e-05/0.006755, allocations: 63.38 kB / 393 MB, free: 5.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.006758, allocations: 0 / 393 MB, free: 5.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001147/0.006872, allocations: 113.4 kB / 393.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.006887, allocations: 10.81 kB / 393.1 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.006892, allocations: 0 / 393.1 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.006902, allocations: 4.094 kB / 393.1 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.007073, allocations: 39.97 kB / 393.1 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006494/0.007722, allocations: 1.278 MB / 394.4 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.00776, allocations: 11.98 kB / 394.4 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.007767, allocations: 8.141 kB / 394.4 MB, free: 4.012 MB / 362.7 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 7.14e-05/0.007838, allocations: 121.8 kB / 394.5 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.007856, allocations: 11.89 kB / 394.6 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.379e-05/0.00787, allocations: 16.78 kB / 394.6 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.007871, allocations: 0 / 394.6 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.007872, allocations: 0 / 394.6 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.007874, allocations: 0 / 394.6 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.008128, allocations: 315.2 kB / 394.9 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.00813, allocations: 4.062 kB / 394.9 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.008251, allocations: 39.94 kB / 394.9 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.008255, allocations: 4 kB / 394.9 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.008263, allocations: 0 / 394.9 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005082/0.008771, allocations: 1.27 MB / 396.2 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.008773, allocations: 7.969 kB / 396.2 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.008889, allocations: 200.4 kB / 396.4 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.008914, allocations: 15.92 kB / 396.4 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.008921, allocations: 4 kB / 396.4 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.008959, allocations: 4 kB / 396.4 MB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.008977, allocations: 7.922 kB / 396.4 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.008982, allocations: 4 kB / 396.4 MB, free: 1.836 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.009037, allocations: 116.1 kB / 396.6 MB, free: 1.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009037, allocations: 0 / 396.6 MB, free: 1.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.009213, allocations: 27.94 kB / 396.6 MB, free: 1.695 MB / 362.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.125e-05/0.009295, allocations: 103.2 kB / 396.7 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.00948, allocations: 67.91 kB / 396.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009482, allocations: 0 / 396.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.009558, allocations: 39.97 kB / 396.8 MB, free: 1.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.00984, allocations: 41.08 kB / 396.8 MB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.0103, allocations: 308.9 kB / 397.1 MB, free: 1.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.997e-05/0.01036, allocations: 102.1 kB / 397.2 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.01039, allocations: 16.5 kB / 397.2 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01039, allocations: 0 / 397.2 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of Templates: time 0.00261/0.013, allocations: 1.961 MB / 399.2 MB, free: 15 MB / 378.7 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.227137977257371] Failed to read output from testmodel.py, exit status != 0: 0.01852236408740282 0.025739440000000002 0.019646996 Calling exit ...