Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 189.7 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008122/0.008122, allocations: 1.346 MB / 307.6 MB, free: 7.473 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.89 kB / 431.4 MB, free: 19.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.0982, allocations: 52.49 MB / 483.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003334/0.1015, allocations: 1.982 MB / 485.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1026, allocations: 0.5728 MB / 486.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.1027, allocations: 7.875 kB / 486.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.1029, allocations: 19.8 kB / 486.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.1029, allocations: 39.66 kB / 486.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.1032, allocations: 99.81 kB / 486.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.1035, allocations: 187.3 kB / 486.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1036, allocations: 45.73 kB / 486.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.1037, allocations: 71.64 kB / 486.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1039, allocations: 67.58 kB / 487 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.1039, allocations: 12 kB / 487 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.51e-05/0.1039, allocations: 12 kB / 487 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.104, allocations: 23.92 kB / 487 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.671e-05/0.1041, allocations: 75.53 kB / 487.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1043, allocations: 155.2 kB / 487.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1043, allocations: 4 kB / 487.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1043, allocations: 0 / 487.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1043, allocations: 0 / 487.3 MB, free: 11.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007078/0.105, allocations: 397.4 kB / 487.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1051, allocations: 8.031 kB / 487.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.1051, allocations: 16.84 kB / 487.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.1054, allocations: 174.2 kB / 487.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1054, allocations: 8.375 kB / 487.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.1055, allocations: 12.38 kB / 487.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.1058, allocations: 139.5 kB / 488 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1058, allocations: 0 / 488 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.1058, allocations: 4 kB / 488 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1058, allocations: 4 kB / 488 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.106, allocations: 55.97 kB / 488.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.1069, allocations: 0.5035 MB / 488.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.1071, allocations: 90.55 kB / 488.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.1072, allocations: 40.83 kB / 488.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1072, allocations: 3.938 kB / 488.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1072, allocations: 38.5 kB / 488.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1072, allocations: 192 / 488.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003579/0.1076, allocations: 133.4 kB / 488.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1076, allocations: 55.34 kB / 488.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1078, allocations: 183.2 kB / 489.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1078, allocations: 29.7 kB / 489.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1079, allocations: 132.3 kB / 489.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.108, allocations: 31.75 kB / 489.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.108, allocations: 37.66 kB / 489.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1082, allocations: 326.8 kB / 489.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.404e-05/0.1083, allocations: 31.97 kB / 489.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1084, allocations: 62.56 kB / 489.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1086, allocations: 99.27 kB / 489.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1086, allocations: 4 kB / 489.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002585/0.1088, allocations: 142.2 kB / 490 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1088, allocations: 8.062 kB / 490 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1089, allocations: 4 kB / 490 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1089, allocations: 0 / 490 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.1091, allocations: 39.97 kB / 490 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1091, allocations: 0 / 490 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.261e-05/0.1091, allocations: 15.89 kB / 490 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1092, allocations: 7.938 kB / 490.1 MB, free: 8.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.0001242/0.1093, allocations: 121.8 kB / 490.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.1093, allocations: 11.89 kB / 490.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.1094, allocations: 25.39 kB / 490.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1094, allocations: 0 / 490.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1094, allocations: 0 / 490.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1094, allocations: 0 / 490.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.1099, allocations: 394.3 kB / 490.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1099, allocations: 0 / 490.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.1102, allocations: 31.97 kB / 490.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1102, allocations: 8.031 kB / 490.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1102, allocations: 4 kB / 490.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.1113, allocations: 1.301 MB / 491.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1113, allocations: 0 / 491.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.1116, allocations: 248.7 kB / 492.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.1117, allocations: 27.89 kB / 492.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.1117, allocations: 3.938 kB / 492.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.1118, allocations: 12.08 kB / 492.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1118, allocations: 11.88 kB / 492.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.1118, allocations: 3.984 kB / 492.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1119, allocations: 128.4 kB / 492.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1119, allocations: 4 kB / 492.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1122, allocations: 24 kB / 492.4 MB, free: 5.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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.0001263/0.1123, allocations: 103.2 kB / 492.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.1126, allocations: 83.89 kB / 492.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1126, allocations: 0 / 492.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.1128, allocations: 43.92 kB / 492.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.1132, allocations: 56.75 kB / 492.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008121/0.114, allocations: 394.2 kB / 493.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.1144, allocations: 0.7124 MB / 493.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.494e-05/0.1145, allocations: 17.08 kB / 493.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.1145, allocations: 19.42 kB / 493.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1145, allocations: 0 / 493.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of Templates: time 0.004903/0.1194, allocations: 1.691 MB / 495.5 MB, free: 2.785 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.455231871455908] Failed to read output from testmodel.py, exit status != 0: 0.12695629708468914 0.141743323 0.034409366000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f40854717b0>