Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_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.001692/0.001692, allocations: 112.4 kB / 16.46 MB, free: 6.504 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.00189/0.00189, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.455/1.455, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.00996/0.00996, allocations: 1.356 MB / 304 MB, free: 8.539 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: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.89 kB / 426.1 MB, free: 20.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.1, allocations: 52.45 MB / 478.6 MB, free: 432 kB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003089/0.1031, allocations: 1.673 MB / 480.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1041, allocations: 0.5298 MB / 480.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.1042, allocations: 0 / 480.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.1043, allocations: 15.88 kB / 480.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.1044, allocations: 19.78 kB / 480.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.1046, allocations: 83.83 kB / 480.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1048, allocations: 131.6 kB / 481 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.105, allocations: 37.38 kB / 481 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.619e-05/0.105, allocations: 39.86 kB / 481.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.1051, allocations: 43.72 kB / 481.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.1051, allocations: 8 kB / 481.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.571e-05/0.1051, allocations: 8 kB / 481.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.1052, allocations: 19.92 kB / 481.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.1052, allocations: 47.67 kB / 481.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1054, allocations: 99.48 kB / 481.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1054, allocations: 4 kB / 481.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1054, allocations: 0 / 481.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1054, allocations: 0 / 481.3 MB, free: 13.66 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005669/0.106, allocations: 422.9 kB / 481.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.106, allocations: 11.89 kB / 481.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.353e-05/0.1061, allocations: 46.69 kB / 481.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.1061, allocations: 16.84 kB / 481.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1064, allocations: 194.9 kB / 482 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1064, allocations: 8.375 kB / 482 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.1064, allocations: 11.94 kB / 482 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1066, allocations: 106.4 kB / 482.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.1066, allocations: 0 / 482.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1066, allocations: 4 kB / 482.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1066, allocations: 0 / 482.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1067, allocations: 39.97 kB / 482.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000684/0.1074, allocations: 468.6 kB / 482.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.1076, allocations: 62.53 kB / 482.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.1076, allocations: 21.02 kB / 482.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1077, allocations: 3.938 kB / 482.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1077, allocations: 38.5 kB / 482.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1077, allocations: 0 / 482.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001974/0.1079, allocations: 73.58 kB / 482.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1079, allocations: 59.34 kB / 482.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1081, allocations: 163 kB / 483 MB, free: 11.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.1082, allocations: 25.7 kB / 483 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.1082, allocations: 119.9 kB / 483.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1083, allocations: 19.78 kB / 483.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1083, allocations: 29.72 kB / 483.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1085, allocations: 318.8 kB / 483.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/0.1085, allocations: 20 kB / 483.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.1086, allocations: 65.98 kB / 483.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1087, allocations: 93.88 kB / 483.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1087, allocations: 0 / 483.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001858/0.1089, allocations: 117.8 kB / 483.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1089, allocations: 8 kB / 483.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1089, allocations: 0 / 483.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1089, allocations: 4 kB / 483.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1091, allocations: 28.08 kB / 483.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1091, allocations: 8 kB / 483.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.1091, allocations: 15.89 kB / 483.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1091, allocations: 4 kB / 483.9 MB, free: 10.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 13 * 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.0001148/0.1092, allocations: 121.8 kB / 484 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.1093, allocations: 15.92 kB / 484 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.1093, allocations: 16.3 kB / 484 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1093, allocations: 0 / 484 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1093, allocations: 0 / 484 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1093, allocations: 4 kB / 484 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.1098, allocations: 355.3 kB / 484.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1098, allocations: 0 / 484.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1099, allocations: 23.92 kB / 484.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1099, allocations: 0 / 484.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.11, allocations: 0 / 484.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.11, allocations: 0 / 484.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.11, allocations: 4 kB / 484.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.1102, allocations: 184.3 kB / 484.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.1103, allocations: 96.97 kB / 484.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1103, allocations: 0 / 484.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.266e-05/0.1103, allocations: 0 / 484.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1104, allocations: 11.98 kB / 484.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1104, allocations: 0 / 484.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1105, allocations: 111.3 kB / 484.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1105, allocations: 4.062 kB / 484.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1107, allocations: 27.88 kB / 484.8 MB, free: 9.742 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 (5): * Single equations (assignments): 5 * 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.0008165/0.1116, allocations: 0.721 MB / 485.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.1117, allocations: 56.05 kB / 485.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1117, allocations: 0 / 485.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.255e-05/0.1117, allocations: 19.98 kB / 485.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.1122, allocations: 36.62 kB / 485.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1143, allocations: 1.68 MB / 487.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.1147, allocations: 0.708 MB / 488 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.1148, allocations: 8.562 kB / 488.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.1149, allocations: 31.98 kB / 488.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1149, allocations: 0 / 488.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.1428, allocations: 2.617 MB / 490.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.193, allocations: 9.891 kB / 490.7 MB, free: 3.871 MB / 350.1 MB " [Timeout remaining time 652] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.698429830372334] Failed to read output from testmodel.py, exit status != 0: 8.261067183222622 8.277710145 8.169329958 Calling exit ...