Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.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.001271/0.001271, allocations: 80.38 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.001313/0.001313, allocations: 159.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.412/1.412, 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.02567/0.02567, allocations: 1.048 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.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 386.4 MB, free: 236 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.744e-05, allocations: 6.281 kB / 386.4 MB, free: 228 kB / 302.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003333/0.003361, allocations: 1.652 MB / 388 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.004526, allocations: 0.5454 MB / 388.6 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.004629, allocations: 4 kB / 388.6 MB, free: 14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.004773, allocations: 15.8 kB / 388.6 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.018e-05/0.004853, allocations: 31.72 kB / 388.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.005149, allocations: 79.89 kB / 388.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.005407, allocations: 139.4 kB / 388.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.005537, allocations: 29.08 kB / 388.9 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.005663, allocations: 71.75 kB / 388.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.304e-05/0.005746, allocations: 27.91 kB / 389 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.005772, allocations: 8 kB / 389 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.122e-05/0.005793, allocations: 8 kB / 389 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.005828, allocations: 27.84 kB / 389 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.005884, allocations: 31.92 kB / 389 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.006071, allocations: 111.6 kB / 389.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.006076, allocations: 3.984 kB / 389.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006076, allocations: 0 / 389.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.006081, allocations: 4 kB / 389.2 MB, free: 13.42 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.0007329/0.006814, allocations: 349.7 kB / 389.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.006849, allocations: 8.031 kB / 389.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.006893, allocations: 20.83 kB / 389.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.007126, allocations: 137.6 kB / 389.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.007145, allocations: 12.38 kB / 389.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.007179, allocations: 12.38 kB / 389.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.007385, allocations: 110.8 kB / 389.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.007393, allocations: 192 / 389.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.007406, allocations: 4.375 kB / 389.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.007413, allocations: 3.938 kB / 389.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.007495, allocations: 35.98 kB / 389.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007061/0.008201, allocations: 484.4 kB / 390.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.008327, allocations: 54.58 kB / 390.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.008362, allocations: 12.86 kB / 390.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.008376, allocations: 4 kB / 390.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.008408, allocations: 34.56 kB / 390.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.008409, allocations: 0 / 390.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002059/0.008615, allocations: 73.62 kB / 390.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.008655, allocations: 51.41 kB / 390.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.008842, allocations: 164.2 kB / 390.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.008871, allocations: 29.7 kB / 390.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.008969, allocations: 116.4 kB / 390.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.008999, allocations: 19.8 kB / 390.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.009046, allocations: 25.72 kB / 390.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.009204, allocations: 318.8 kB / 391.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.00925, allocations: 23.98 kB / 391.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.00931, allocations: 47.42 kB / 391.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.009429, allocations: 63.31 kB / 391.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.009431, allocations: 0 / 391.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001667/0.009598, allocations: 101.5 kB / 391.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.009617, allocations: 8 kB / 391.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.009622, allocations: 0 / 391.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.009637, allocations: 4.094 kB / 391.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.009766, allocations: 23.98 kB / 391.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.009774, allocations: 4.062 kB / 391.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.009823, allocations: 11.89 kB / 391.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.009835, allocations: 8 kB / 391.5 MB, free: 10.88 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 (11): * Single equations (assignments): 11 * 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.0001129/0.009948, allocations: 122.6 kB / 391.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.00998, allocations: 7.953 kB / 391.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.01001, allocations: 12.34 kB / 391.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01001, allocations: 0 / 391.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01002, allocations: 0 / 391.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01002, allocations: 7.938 kB / 391.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.01041, allocations: 291 kB / 391.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01041, allocations: 0 / 391.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.01065, allocations: 23.98 kB / 391.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01065, allocations: 0 / 391.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.01066, allocations: 0 / 391.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.01187, allocations: 1.29 MB / 393.2 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01188, allocations: 0 / 393.2 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.01208, allocations: 180.5 kB / 393.4 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.01213, allocations: 19.92 kB / 393.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.01214, allocations: 0 / 393.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.01221, allocations: 7.938 kB / 393.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.01223, allocations: 0 / 393.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.01223, allocations: 0 / 393.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.01235, allocations: 123.2 kB / 393.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01235, allocations: 4.094 kB / 393.6 MB, free: 8.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.01263, allocations: 24 kB / 393.6 MB, free: 8.617 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 (4): * Single equations (assignments): 3 * 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.0001222/0.01276, allocations: 99.23 kB / 393.7 MB, free: 8.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.0129, allocations: 39.92 kB / 393.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0129, allocations: 0 / 393.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.01304, allocations: 27.92 kB / 393.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.01348, allocations: 40.94 kB / 393.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.01405, allocations: 266.7 kB / 394 MB, free: 8.117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.01416, allocations: 93.06 kB / 394.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.01421, allocations: 12.62 kB / 394.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.01426, allocations: 16.48 kB / 394.2 MB, free: 7.977 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.01426, allocations: 0 / 394.2 MB, free: 7.977 MB / 318.1 MB Notification: Performance of Templates: time 0.004264/0.01852, allocations: 1.257 MB / 395.4 MB, free: 6.773 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.146598536521196] Failed to read output from testmodel.py, exit status != 0: 0.027493230998516083 0.04287044 0.033599170000000005 Calling exit ...