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.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.001564/0.001564, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001669/0.001669, allocations: 189.4 kB / 22.17 MB, free: 5.656 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.448/1.448, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.008245/0.008245, allocations: 1.344 MB / 307.5 MB, free: 7.5 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.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 0.002008/0.002008, allocations: 71.88 kB / 431.1 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1091, allocations: 52.44 MB / 483.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003244/0.1123, allocations: 1.671 MB / 485.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1136, allocations: 0.5222 MB / 485.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.1137, allocations: 8 kB / 485.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1138, allocations: 15.8 kB / 485.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.579e-05/0.1139, allocations: 23.78 kB / 485.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1141, allocations: 91.77 kB / 485.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.1144, allocations: 111.6 kB / 486 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1145, allocations: 29.28 kB / 486 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.1146, allocations: 35.86 kB / 486.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.1147, allocations: 35.78 kB / 486.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1147, allocations: 8 kB / 486.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.1147, allocations: 4 kB / 486.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.1147, allocations: 27.86 kB / 486.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.1148, allocations: 43.73 kB / 486.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.115, allocations: 95.5 kB / 486.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.115, allocations: 4 kB / 486.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1151, allocations: 0 / 486.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1151, allocations: 0 / 486.3 MB, free: 12.44 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006161/0.1157, allocations: 410.9 kB / 486.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1157, allocations: 11.89 kB / 486.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.1158, allocations: 16.84 kB / 486.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.116, allocations: 200.8 kB / 486.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.116, allocations: 4.375 kB / 486.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.1161, allocations: 12.12 kB / 486.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.1163, allocations: 96.17 kB / 487 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1163, allocations: 0 / 487 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1163, allocations: 4 kB / 487 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.1163, allocations: 4 kB / 487 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.1164, allocations: 31.92 kB / 487.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.1171, allocations: 0.5165 MB / 487.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.816e-05/0.1172, allocations: 34.58 kB / 487.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.1173, allocations: 16.86 kB / 487.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.1173, allocations: 96 / 487.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.1173, allocations: 42.48 kB / 487.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1173, allocations: 3.938 kB / 487.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002495/0.1176, allocations: 61.53 kB / 487.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1176, allocations: 51.41 kB / 487.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1179, allocations: 166.4 kB / 487.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1179, allocations: 25.7 kB / 488 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.118, allocations: 119.9 kB / 488.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.118, allocations: 19.83 kB / 488.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.1182, allocations: 37.7 kB / 488.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1183, allocations: 314.8 kB / 488.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.1184, allocations: 23.98 kB / 488.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.272e-05/0.1185, allocations: 83.52 kB / 488.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1186, allocations: 111.8 kB / 488.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1186, allocations: 0 / 488.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002178/0.1188, allocations: 129.4 kB / 488.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1189, allocations: 15.88 kB / 488.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1189, allocations: 0 / 488.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1189, allocations: 4 kB / 488.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.119, allocations: 36.14 kB / 488.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.119, allocations: 0 / 488.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.1191, allocations: 15.84 kB / 488.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1191, allocations: 12 kB / 488.9 MB, free: 9.559 MB / 350.1 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 (16): * Single equations (assignments): 16 * 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.0001086/0.1192, allocations: 121.7 kB / 489 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.1192, allocations: 11.89 kB / 489 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.1193, allocations: 16.92 kB / 489 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1193, allocations: 0 / 489 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1193, allocations: 0 / 489 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1193, allocations: 4 kB / 489 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.1196, allocations: 327.3 kB / 489.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1196, allocations: 0 / 489.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.573e-05/0.1197, allocations: 12 kB / 489.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1197, allocations: 0 / 489.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1197, allocations: 0 / 489.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1197, allocations: 4 kB / 489.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1197, allocations: 0 / 489.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.1199, allocations: 176.2 kB / 489.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.1201, allocations: 89.09 kB / 489.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.1201, allocations: 0 / 489.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.1201, allocations: 0 / 489.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.1202, allocations: 7.984 kB / 489.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.1202, allocations: 0 / 489.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1203, allocations: 132.8 kB / 489.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1203, allocations: 3.938 kB / 489.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1205, allocations: 23.94 kB / 489.8 MB, free: 8.539 MB / 350.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 (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 0.0001193/0.1206, allocations: 95.25 kB / 489.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.1208, allocations: 59.92 kB / 489.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1208, allocations: 0 / 489.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.456e-05/0.1208, allocations: 4.438 kB / 489.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.1213, allocations: 55.81 kB / 490 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/0.1219, allocations: 283.3 kB / 490.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/0.1226, allocations: 0.7002 MB / 491 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.821e-05/0.1227, allocations: 16.8 kB / 491 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.1227, allocations: 15.44 kB / 491 MB, free: 7.254 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1227, allocations: 4 kB / 491 MB, free: 7.25 MB / 350.1 MB Notification: Performance of Templates: time 0.004535/0.1272, allocations: 1.05 MB / 492.1 MB, free: 6.25 MB / 350.1 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 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4891533041372895] Failed to read output from testmodel.py, exit status != 0: 0.13513428205624223 0.15108791499999993 0.032858561 Calling exit ...