Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_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.001311/0.001311, allocations: 80.61 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.00144/0.00144, allocations: 160 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.437/1.437, 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.008521/0.008521, allocations: 1.029 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.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 386.4 MB, free: 212 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.672e-05, allocations: 5.375 kB / 386.4 MB, free: 208 kB / 302.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD): time 0.003349/0.003376, allocations: 1.861 MB / 388.3 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.004509, allocations: 0.5532 MB / 388.8 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.004589, allocations: 0 / 388.8 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.00477, allocations: 27.73 kB / 388.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.526e-05/0.004856, allocations: 39.66 kB / 388.9 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.005126, allocations: 83.88 kB / 389 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.005415, allocations: 191.4 kB / 389.1 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.005564, allocations: 41.55 kB / 389.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.005684, allocations: 83.73 kB / 389.3 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.15e-05/0.005776, allocations: 39.88 kB / 389.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.005803, allocations: 12 kB / 389.3 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/0.005825, allocations: 12 kB / 389.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.005862, allocations: 23.86 kB / 389.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.005926, allocations: 47.84 kB / 389.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.006136, allocations: 135.4 kB / 389.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.006143, allocations: 4 kB / 389.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006144, allocations: 0 / 389.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.006149, allocations: 0 / 389.5 MB, free: 13.04 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006256/0.006775, allocations: 369.8 kB / 389.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.006811, allocations: 12.03 kB / 389.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.006872, allocations: 20.8 kB / 389.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.007113, allocations: 159.6 kB / 390.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.007132, allocations: 12.61 kB / 390.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.007165, allocations: 12.38 kB / 390.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.007449, allocations: 137.5 kB / 390.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.007459, allocations: 192 / 390.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.007473, allocations: 4.312 kB / 390.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.007482, allocations: 7.938 kB / 390.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.00766, allocations: 67.95 kB / 390.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007835/0.008443, allocations: 436.2 kB / 390.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.008701, allocations: 78.61 kB / 390.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.008796, allocations: 32.89 kB / 390.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.008816, allocations: 0 / 390.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.008844, allocations: 34.56 kB / 390.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.008845, allocations: 0 / 390.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000345/0.00919, allocations: 125.4 kB / 391 MB, free: 11.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.009251, allocations: 51.41 kB / 391.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.009428, allocations: 178.9 kB / 391.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.009462, allocations: 29.7 kB / 391.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.009559, allocations: 132.4 kB / 391.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.009592, allocations: 31.73 kB / 391.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.009655, allocations: 33.7 kB / 391.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.009833, allocations: 326.8 kB / 391.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.369e-05/0.009926, allocations: 36.84 kB / 391.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.01004, allocations: 75.23 kB / 391.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.01025, allocations: 113 kB / 392 MB, free: 10.37 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01025, allocations: 0 / 392 MB, free: 10.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000289/0.01054, allocations: 149.5 kB / 392.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.01056, allocations: 7.984 kB / 392.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.01056, allocations: 4 kB / 392.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.01058, allocations: 8.094 kB / 392.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.01072, allocations: 35.98 kB / 392.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01072, allocations: 0 / 392.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.01079, allocations: 15.83 kB / 392.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.01081, allocations: 8 kB / 392.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001455/0.01095, allocations: 120.8 kB / 392.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001169/0.01107, allocations: 73.12 kB / 392.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001756/0.01125, allocations: 105.1 kB / 392.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.91e-07/0.01125, allocations: 0 / 392.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization_lambda0): time 0.0002729/0.01152, allocations: 153.2 kB / 392.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.194e-06/0.01153, allocations: 4 kB / 392.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01153, allocations: 4 kB / 392.7 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-06/0.01154, allocations: 4.156 kB / 392.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.01165, allocations: 39.86 kB / 392.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01166, allocations: 7.984 kB / 392.7 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.01173, allocations: 11.98 kB / 392.7 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.01174, allocations: 4 kB / 392.7 MB, free: 9.578 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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.0001354/0.01187, allocations: 192.1 kB / 392.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.01191, allocations: 15.84 kB / 392.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.01195, allocations: 21.45 kB / 393 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.01196, allocations: 3.938 kB / 393 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.01196, allocations: 7.938 kB / 393 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01197, allocations: 4 kB / 393 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.01246, allocations: 330.9 kB / 393.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01246, allocations: 0 / 393.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.01257, allocations: 20 kB / 393.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.01258, allocations: 7.938 kB / 393.3 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01259, allocations: 0 / 393.3 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01259, allocations: 0 / 393.3 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01259, allocations: 3.984 kB / 393.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.01292, allocations: 220.3 kB / 393.6 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.01297, allocations: 23.86 kB / 393.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.01298, allocations: 0 / 393.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.01307, allocations: 4 kB / 393.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.0131, allocations: 7.984 kB / 393.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.01311, allocations: 4 kB / 393.6 MB, free: 8.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.01322, allocations: 124.3 kB / 393.7 MB, free: 8.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01322, allocations: 4 kB / 393.7 MB, free: 8.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.01357, allocations: 47.84 kB / 393.8 MB, free: 8.496 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 (8): * Single equations (assignments): 8 * 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.0001208/0.01369, allocations: 107.3 kB / 393.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.01402, allocations: 135.8 kB / 394 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01402, allocations: 0 / 394 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.573e-05/0.0141, allocations: 35.92 kB / 394 MB, free: 8.211 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.01456, allocations: 38.36 kB / 394.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/0.01523, allocations: 311.4 kB / 394.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.01533, allocations: 107.5 kB / 394.5 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.392e-05/0.01541, allocations: 20.53 kB / 394.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.01546, allocations: 16.5 kB / 394.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of SimCode: time 7.02e-07/0.01546, allocations: 0 / 394.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of Templates: time 0.004587/0.02005, allocations: 1.36 MB / 395.9 MB, free: 6.379 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.239764250814915] Failed to read output from testmodel.py, exit status != 0: 0.029166921973228455 0.044593411 0.035234156 Calling exit ...