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.00183/0.00183, allocations: 108.5 kB / 16.4 MB, free: 6.004 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.002058/0.002058, allocations: 187.7 kB / 19.35 MB, free: 3.602 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.461/1.461, allocations: 222.9 MB / 245.1 MB, free: 15 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.008045/0.008045, allocations: 1.331 MB / 298.6 MB, free: 11.41 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.001935/0.001935, allocations: 67.89 kB / 415.2 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09279/0.09474, allocations: 49.72 MB / 465 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003167/0.09795, allocations: 1.653 MB / 466.6 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.09908, allocations: 0.5298 MB / 467.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.09918, allocations: 7.938 kB / 467.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.09934, allocations: 11.86 kB / 467.2 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.09941, allocations: 23.78 kB / 467.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.0997, allocations: 79.84 kB / 467.3 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.09992, allocations: 127.6 kB / 467.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1001, allocations: 45.38 kB / 467.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.618e-05/0.1002, allocations: 39.86 kB / 467.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.1002, allocations: 39.72 kB / 467.5 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.1003, allocations: 8 kB / 467.5 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.101e-05/0.1003, allocations: 8 kB / 467.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.1004, allocations: 19.92 kB / 467.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.1004, allocations: 55.66 kB / 467.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.1006, allocations: 99.5 kB / 467.7 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1006, allocations: 4 kB / 467.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1006, allocations: 0 / 467.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1007, allocations: 0 / 467.7 MB, free: 6.629 MB / 334.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.0006443/0.1013, allocations: 418.9 kB / 468.1 MB, free: 6.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1014, allocations: 15.83 kB / 468.1 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.353e-05/0.1014, allocations: 42.73 kB / 468.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.1015, allocations: 16.84 kB / 468.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1017, allocations: 203.1 kB / 468.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1017, allocations: 4.375 kB / 468.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.1019, allocations: 11.94 kB / 468.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1021, allocations: 99.31 kB / 468.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1021, allocations: 0 / 468.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1021, allocations: 8 kB / 468.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1021, allocations: 3.984 kB / 468.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.1022, allocations: 35.98 kB / 468.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007232/0.1029, allocations: 472.6 kB / 469 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.1032, allocations: 58.56 kB / 469.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.573e-05/0.1032, allocations: 16.98 kB / 469.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1033, allocations: 11.94 kB / 469.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1033, allocations: 34.56 kB / 469.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1033, allocations: 3.938 kB / 469.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002164/0.1035, allocations: 73.58 kB / 469.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.1036, allocations: 51.41 kB / 469.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1038, allocations: 159.7 kB / 469.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1038, allocations: 33.7 kB / 469.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.1039, allocations: 111.9 kB / 469.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1039, allocations: 31.78 kB / 469.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.104, allocations: 25.72 kB / 469.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1041, allocations: 322.8 kB / 469.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.1042, allocations: 19.92 kB / 469.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.401e-05/0.1043, allocations: 64.12 kB / 470 MB, free: 4.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1044, allocations: 93.89 kB / 470.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1044, allocations: 0 / 470.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001928/0.1046, allocations: 121.8 kB / 470.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1047, allocations: 6.656 kB / 470.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1047, allocations: 8 kB / 470.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1047, allocations: 0 / 470.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1048, allocations: 31.92 kB / 470.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1048, allocations: 0 / 470.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.1049, allocations: 15.89 kB / 470.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1049, allocations: 7.984 kB / 470.3 MB, free: 3.773 MB / 334.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.00011/0.105, allocations: 125.9 kB / 470.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.1051, allocations: 11.89 kB / 470.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.1051, allocations: 8.312 kB / 470.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1051, allocations: 4 kB / 470.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1051, allocations: 0 / 470.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1051, allocations: 0 / 470.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.1056, allocations: 355.3 kB / 470.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1056, allocations: 0 / 470.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.1057, allocations: 27.95 kB / 470.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1057, allocations: 0 / 470.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1057, allocations: 4 kB / 470.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1057, allocations: 0 / 470.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1057, allocations: 3.984 kB / 470.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.106, allocations: 180.3 kB / 471 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.106, allocations: 97.12 kB / 471.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.1061, allocations: 12 kB / 471.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-05/0.1061, allocations: 0 / 471.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.1062, allocations: 3.984 kB / 471.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1062, allocations: 4 kB / 471.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1063, allocations: 115.2 kB / 471.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1063, allocations: 3.938 kB / 471.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1065, allocations: 15.94 kB / 471.2 MB, free: 2.715 MB / 334.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.0005453/0.1071, allocations: 0.7172 MB / 471.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.1072, allocations: 59.97 kB / 472 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1073, allocations: 0 / 472 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.843e-05/0.1073, allocations: 16 kB / 472 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.1078, allocations: 41.53 kB / 472.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.1096, allocations: 1.69 MB / 473.8 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.11, allocations: 0.7002 MB / 474.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.587e-05/0.1101, allocations: 12.55 kB / 474.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.1102, allocations: 35.38 kB / 474.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1102, allocations: 0 / 474.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.1439, allocations: 2.596 MB / 477.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.066, allocations: 6.812 kB / 477.1 MB, free: 12.85 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.579299598932266] Failed to read output from testmodel.py, exit status != 0: 8.135850307065994 8.157145932 8.052787837 Calling exit ...