Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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.001358/0.001358, allocations: 72.5 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.0008169/0.0008169, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.871/0.871, allocations: 177.1 MB / 203.5 MB, free: 5.445 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.004119/0.004119, allocations: 1.021 MB / 261 MB, free: 12.21 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.NonInvertibleConfig.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.041e-06/1.041e-06, allocations: 0 / 387.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.21e-05, allocations: 2.281 kB / 387.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.00194/0.001962, allocations: 1.638 MB / 388.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006805/0.002643, allocations: 0.5261 MB / 389.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.002698, allocations: 3.938 kB / 389.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.00281, allocations: 11.86 kB / 389.3 MB, free: 9.469 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.074e-05/0.002851, allocations: 23.75 kB / 389.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.003037, allocations: 79.88 kB / 389.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.003176, allocations: 123.5 kB / 389.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.003286, allocations: 29.45 kB / 389.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.597e-05/0.003342, allocations: 59.88 kB / 389.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.003398, allocations: 23.86 kB / 389.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.003422, allocations: 8 kB / 389.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.003433, allocations: 8 kB / 389.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.003452, allocations: 15.91 kB / 389.7 MB, free: 9.098 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.003481, allocations: 27.94 kB / 389.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.003597, allocations: 91.67 kB / 389.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003599, allocations: 3.938 kB / 389.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.0036, allocations: 0 / 389.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.003603, allocations: 0 / 389.8 MB, free: 8.977 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003587/0.003962, allocations: 337.8 kB / 390.1 MB, free: 8.617 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.003994, allocations: 12.03 kB / 390.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.004024, allocations: 8.891 kB / 390.1 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.004161, allocations: 146.2 kB / 390.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.004171, allocations: 4.375 kB / 390.3 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.004194, allocations: 16.31 kB / 390.3 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.004308, allocations: 95.42 kB / 390.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.004316, allocations: 3.938 kB / 390.4 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.004328, allocations: 7.984 kB / 390.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.004332, allocations: 0 / 390.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.579e-05/0.004388, allocations: 31.92 kB / 390.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.00479, allocations: 464.5 kB / 390.9 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.454e-05/0.004854, allocations: 34.58 kB / 390.9 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.004874, allocations: 8.859 kB / 390.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.004882, allocations: 0 / 390.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.004901, allocations: 42.64 kB / 391 MB, free: 7.664 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.004901, allocations: 0 / 391 MB, free: 7.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001252/0.005027, allocations: 53.59 kB / 391 MB, free: 7.605 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.005055, allocations: 59.33 kB / 391.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.005151, allocations: 166.9 kB / 391.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.00516, allocations: 25.7 kB / 391.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.005213, allocations: 123.9 kB / 391.4 MB, free: 7.207 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.238e-06/0.005222, allocations: 7.906 kB / 391.4 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.005253, allocations: 33.7 kB / 391.4 MB, free: 7.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.00533, allocations: 314.8 kB / 391.7 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.005352, allocations: 15.98 kB / 391.8 MB, free: 6.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.005396, allocations: 79.59 kB / 391.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.271e-05/0.005469, allocations: 95.61 kB / 391.9 MB, free: 6.602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005471, allocations: 0 / 391.9 MB, free: 6.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001027/0.005573, allocations: 109.4 kB / 392 MB, free: 6.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.005585, allocations: 12.25 kB / 392.1 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005589, allocations: 0 / 392.1 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.005601, allocations: 4 kB / 392.1 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.005666, allocations: 19.98 kB / 392.1 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.005672, allocations: 7.938 kB / 392.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.005703, allocations: 11.89 kB / 392.1 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.005709, allocations: 8 kB / 392.1 MB, free: 6.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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): 12 * 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 5.717e-05/0.005767, allocations: 121.8 kB / 392.2 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.00578, allocations: 7.938 kB / 392.2 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.005798, allocations: 12.34 kB / 392.2 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.0058, allocations: 4 kB / 392.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.005804, allocations: 3.938 kB / 392.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005806, allocations: 0 / 392.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.005983, allocations: 275 kB / 392.5 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.005984, allocations: 0 / 392.5 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.006031, allocations: 8 kB / 392.5 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006032, allocations: 3.938 kB / 392.5 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.006039, allocations: 3.938 kB / 392.5 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.00604, allocations: 0 / 392.5 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.006042, allocations: 4 kB / 392.5 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.006146, allocations: 168.6 kB / 392.7 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.006165, allocations: 15.97 kB / 392.7 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.006178, allocations: 7.938 kB / 392.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.06e-05/0.006208, allocations: 0 / 392.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.006224, allocations: 4 kB / 392.7 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.006227, allocations: 4 kB / 392.7 MB, free: 5.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.363e-05/0.00628, allocations: 115.2 kB / 392.8 MB, free: 5.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00628, allocations: 0 / 392.8 MB, free: 5.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001613/0.006442, allocations: 23.89 kB / 392.9 MB, free: 5.59 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 (3): * Single equations (assignments): 3 * 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 6.931e-05/0.006511, allocations: 99.31 kB / 393 MB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.335e-05/0.006594, allocations: 43.86 kB / 393 MB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006596, allocations: 3.938 kB / 393 MB, free: 5.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.006607, allocations: 11.98 kB / 393 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.006861, allocations: 36.48 kB / 393.1 MB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.007204, allocations: 264.5 kB / 393.3 MB, free: 5.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.22e-05/0.007256, allocations: 88.27 kB / 393.4 MB, free: 4.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.007279, allocations: 12.5 kB / 393.4 MB, free: 4.984 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007279, allocations: 0 / 393.4 MB, free: 4.984 MB / 362.7 MB Notification: Performance of Templates: time 0.001698/0.008977, allocations: 1.263 MB / 394.7 MB, free: 3.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.114716349169612] Failed to read output from testmodel.py, exit status != 0: 0.013555191457271576 0.020842253 0.015532701000000001 Calling exit ...