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.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.001735/0.001735, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002797/0.002797, allocations: 214.3 kB / 23.03 MB, free: 4.949 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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.008726/0.008726, allocations: 1.341 MB / 314.6 MB, free: 1.66 MB / 238.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) 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BoundaryInitBlocks requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 61.94 kB / 440.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09365/0.09635, allocations: 53.68 MB / 494.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.002943/0.0993, allocations: 1.631 MB / 496.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1003, allocations: 0.5416 MB / 496.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.1004, allocations: 0 / 496.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.1005, allocations: 15.81 kB / 496.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.1005, allocations: 27.78 kB / 496.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1008, allocations: 75.91 kB / 496.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.101, allocations: 123.6 kB / 497 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1011, allocations: 45.58 kB / 497 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.1011, allocations: 35.86 kB / 497.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.409e-05/0.1012, allocations: 51.72 kB / 497.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1013, allocations: 8 kB / 497.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.1013, allocations: 8 kB / 497.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.1013, allocations: 15.88 kB / 497.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.1014, allocations: 35.8 kB / 497.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1015, allocations: 103.5 kB / 497.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1015, allocations: 4 kB / 497.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1015, allocations: 0 / 497.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1015, allocations: 0 / 497.3 MB, free: 3.625 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.000515/0.102, allocations: 341.7 kB / 497.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1021, allocations: 12.03 kB / 497.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.538e-05/0.1021, allocations: 8.188 kB / 497.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.493e-05/0.1022, allocations: 38.75 kB / 497.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1022, allocations: 20.83 kB / 497.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1024, allocations: 150.8 kB / 497.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1024, allocations: 8.125 kB / 497.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1024, allocations: 12 kB / 497.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1026, allocations: 95.38 kB / 498 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1026, allocations: 0 / 498 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1026, allocations: 7.984 kB / 498 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1026, allocations: 8 kB / 498 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.884e-05/0.1027, allocations: 43.91 kB / 498 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.1034, allocations: 419.8 kB / 498.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.1036, allocations: 62.58 kB / 498.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.1036, allocations: 28.91 kB / 498.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1037, allocations: 3.938 kB / 498.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1037, allocations: 34.5 kB / 498.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1037, allocations: 0 / 498.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006629/0.1043, allocations: 304.9 kB / 498.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1044, allocations: 51.41 kB / 498.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1045, allocations: 162.1 kB / 499.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1046, allocations: 29.7 kB / 499.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.1046, allocations: 115.9 kB / 499.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.1047, allocations: 39.83 kB / 499.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.1047, allocations: 37.7 kB / 499.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1049, allocations: 322.8 kB / 499.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.1049, allocations: 20 kB / 499.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.962e-05/0.105, allocations: 85.98 kB / 499.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1052, allocations: 102 kB / 499.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1052, allocations: 0 / 499.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002375/0.1054, allocations: 141.3 kB / 499.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1054, allocations: 12.16 kB / 499.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1054, allocations: 0 / 499.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1054, allocations: 4 kB / 500 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.1056, allocations: 31.98 kB / 500 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1056, allocations: 3.984 kB / 500 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.1057, allocations: 7.938 kB / 500 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1057, allocations: 8 kB / 0.4883 GB, free: 0.6367 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 (17): * Single equations (assignments): 17 * 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 9.611e-05/0.1058, allocations: 121.9 kB / 0.4884 GB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.1058, allocations: 15.89 kB / 0.4884 GB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.1058, allocations: 8.719 kB / 0.4884 GB, free: 500 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1058, allocations: 8 kB / 0.4884 GB, free: 492 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1058, allocations: 0 / 0.4884 GB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1058, allocations: 3.984 kB / 0.4884 GB, free: 488 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.1063, allocations: 345.4 kB / 0.4888 GB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1063, allocations: 0 / 0.4888 GB, free: 92 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.1064, allocations: 35.97 kB / 0.4888 GB, free: 56 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1065, allocations: 4 kB / 0.4888 GB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1065, allocations: 0 / 0.4888 GB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1065, allocations: 0 / 0.4888 GB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1065, allocations: 4 kB / 0.4888 GB, free: 48 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1067, allocations: 207.4 kB / 0.489 GB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.1068, allocations: 15.94 kB / 0.489 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.1068, allocations: 0 / 0.489 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.1068, allocations: 7.938 kB / 0.489 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.1069, allocations: 7.984 kB / 0.489 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.1069, allocations: 4.125 kB / 0.489 GB, free: 15.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.869e-05/0.107, allocations: 119.2 kB / 0.4892 GB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.107, allocations: 4 kB / 0.4892 GB, free: 15.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1072, allocations: 16 kB / 0.4892 GB, free: 15.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 ($outputAlias_y) * 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): 9 * 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.0005304/0.1078, allocations: 0.7477 MB / 0.4899 GB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.1079, allocations: 67.91 kB / 0.49 GB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1079, allocations: 0 / 0.49 GB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.108, allocations: 23.94 kB / 0.49 GB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1084, allocations: 39.69 kB / 0.49 GB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.1103, allocations: 1.717 MB / 0.4917 GB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.705e-05/0.1104, allocations: 94.66 kB / 0.4918 GB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.1105, allocations: 9.188 kB / 0.4918 GB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.1105, allocations: 43.42 kB / 0.4918 GB, free: 12.76 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1105, allocations: 0 / 0.4918 GB, free: 12.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.1348, allocations: 3.034 MB / 0.4948 GB, free: 9.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.68, allocations: 15.91 kB / 0.4948 GB, free: 9.922 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.495764559949748] Failed to read output from testmodel.py, exit status != 0: 11.841806735028513 12.025906943 11.921470851 Calling exit ...