Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.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.001317/0.001317, allocations: 76.23 kB / 19.18 MB, free: 2.52 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.001368/0.001368, allocations: 165.1 kB / 22.45 MB, free: 5.371 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.399/1.399, allocations: 177.2 MB / 202.8 MB, free: 9.148 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.007578/0.007578, allocations: 1.031 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.NonInvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 387.2 MB, free: 15.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.368e-05, allocations: 6.219 kB / 387.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.00331/0.003344, allocations: 1.642 MB / 388.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.004601, allocations: 0.5338 MB / 389.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.004711, allocations: 0 / 389.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.004885, allocations: 19.81 kB / 389.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.718e-05/0.004952, allocations: 19.73 kB / 389.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.005269, allocations: 91.81 kB / 389.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.005498, allocations: 127.6 kB / 389.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.005654, allocations: 33.61 kB / 389.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.005762, allocations: 63.75 kB / 389.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.005849, allocations: 27.91 kB / 389.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.005875, allocations: 8 kB / 389.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.005894, allocations: 8 kB / 389.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.005926, allocations: 19.86 kB / 389.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.005974, allocations: 27.92 kB / 389.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.006166, allocations: 95.66 kB / 389.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.006171, allocations: 8 kB / 389.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006172, allocations: 0 / 389.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.006177, allocations: 0 / 389.9 MB, free: 12.65 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005974/0.006774, allocations: 341.7 kB / 390.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.006812, allocations: 11.97 kB / 390.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.006853, allocations: 16.84 kB / 390.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.007078, allocations: 138.2 kB / 390.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.007094, allocations: 8.375 kB / 390.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.007125, allocations: 4.375 kB / 390.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.007319, allocations: 102.3 kB / 390.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.007332, allocations: 7.938 kB / 390.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.007347, allocations: 4 kB / 390.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.007356, allocations: 7.984 kB / 390.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.401e-05/0.00745, allocations: 39.91 kB / 390.6 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.008077, allocations: 388.4 kB / 390.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.008288, allocations: 54.53 kB / 391 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.008331, allocations: 21.02 kB / 391 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.008348, allocations: 4 kB / 391 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.008377, allocations: 38.56 kB / 391.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.008378, allocations: 0 / 391.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002096/0.008588, allocations: 73.59 kB / 391.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.008635, allocations: 59.28 kB / 391.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.008799, allocations: 160.4 kB / 391.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.008822, allocations: 29.7 kB / 391.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.008909, allocations: 115.9 kB / 391.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.008925, allocations: 15.91 kB / 391.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.008978, allocations: 29.7 kB / 391.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.009197, allocations: 322.8 kB / 391.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-05/0.009238, allocations: 20 kB / 391.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.00931, allocations: 62 kB / 391.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.009435, allocations: 93.88 kB / 392 MB, free: 10.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.009437, allocations: 0 / 392 MB, free: 10.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001866/0.009623, allocations: 125.8 kB / 392.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.00964, allocations: 4 kB / 392.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.009647, allocations: 4 kB / 392.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.009664, allocations: 0 / 392.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.009787, allocations: 31.92 kB / 392.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.009795, allocations: 3.938 kB / 392.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.00985, allocations: 15.83 kB / 392.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.00986, allocations: 8 kB / 392.2 MB, free: 10.12 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 0.0001034/0.009964, allocations: 118.7 kB / 392.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.009995, allocations: 8.016 kB / 392.3 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.01003, allocations: 16.45 kB / 392.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.01003, allocations: 4 kB / 392.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.01004, allocations: 3.938 kB / 392.4 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01004, allocations: 0 / 392.4 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.01053, allocations: 291 kB / 392.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01053, allocations: 0 / 392.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.01065, allocations: 23.92 kB / 392.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.01065, allocations: 4 kB / 392.7 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.01067, allocations: 3.938 kB / 392.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01067, allocations: 4.031 kB / 392.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.01067, allocations: 0 / 392.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.01089, allocations: 184.4 kB / 392.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.01092, allocations: 11.97 kB / 392.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.01094, allocations: 11.88 kB / 392.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/0.011, allocations: 0 / 392.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.01102, allocations: 7.984 kB / 392.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.01102, allocations: 0 / 392.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.01113, allocations: 123.2 kB / 393 MB, free: 9.254 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01113, allocations: 0 / 393 MB, free: 9.254 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.01137, allocations: 19.89 kB / 393 MB, free: 9.234 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001216/0.01149, allocations: 99.31 kB / 393.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.01163, allocations: 48.05 kB / 393.2 MB, free: 9.078 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01163, allocations: 4 kB / 393.2 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/0.01166, allocations: 19.92 kB / 393.2 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.01212, allocations: 39.78 kB / 393.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.01271, allocations: 270.8 kB / 393.5 MB, free: 8.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.634e-05/0.0128, allocations: 85.31 kB / 393.6 MB, free: 8.629 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.968e-05/0.01285, allocations: 12.5 kB / 393.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.01289, allocations: 12.5 kB / 393.6 MB, free: 8.602 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.01289, allocations: 0 / 393.6 MB, free: 8.602 MB / 318.1 MB Notification: Performance of Templates: time 0.004425/0.01731, allocations: 1.223 MB / 394.8 MB, free: 7.438 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.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.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.178585797548294] Failed to read output from testmodel.py, exit status != 0: 0.026714015752077103 0.040207555000000006 0.030888125000000002 Calling exit ...