Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.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.001371/0.001371, allocations: 113 kB / 18.94 MB, free: 2.934 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.001538/0.001538, allocations: 210.8 kB / 22.25 MB, free: 5.086 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 8.047 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.008564/0.008564, allocations: 1.348 MB / 313.8 MB, free: 1.883 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.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="me",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.002141/0.002141, allocations: 71.89 kB / 440.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.09766, allocations: 53.68 MB / 493.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003163/0.1008, allocations: 1.716 MB / 495.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.102, allocations: 0.5844 MB / 496.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.41e-05/0.102, allocations: 0 / 496.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1022, allocations: 23.8 kB / 496.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.1023, allocations: 31.72 kB / 496.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1025, allocations: 83.83 kB / 496.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.1028, allocations: 155.4 kB / 496.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1029, allocations: 37.98 kB / 496.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.318e-05/0.103, allocations: 47.84 kB / 496.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1031, allocations: 47.72 kB / 496.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.1031, allocations: 8 kB / 496.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.276e-05/0.1032, allocations: 12 kB / 496.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.1032, allocations: 35.73 kB / 496.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.1033, allocations: 55.67 kB / 496.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1034, allocations: 123.5 kB / 496.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1034, allocations: 0 / 496.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1034, allocations: 0 / 496.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1035, allocations: 0 / 496.8 MB, free: 3.586 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005653/0.104, allocations: 361.6 kB / 497.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1041, allocations: 8.031 kB / 497.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.821e-05/0.1041, allocations: 46.92 kB / 497.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.1042, allocations: 16.84 kB / 497.3 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1044, allocations: 150.2 kB / 497.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1044, allocations: 12.5 kB / 497.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.1044, allocations: 20.11 kB / 497.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.1046, allocations: 105.1 kB / 497.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1046, allocations: 0 / 497.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1046, allocations: 4 kB / 497.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1046, allocations: 4 kB / 497.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1048, allocations: 47.92 kB / 497.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008098/0.1056, allocations: 471.8 kB / 498.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1057, allocations: 58.56 kB / 498.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.1058, allocations: 20.98 kB / 498.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.1058, allocations: 0 / 498.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1058, allocations: 42.48 kB / 498.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.1058, allocations: 0 / 498.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002277/0.106, allocations: 85.64 kB / 498.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.1061, allocations: 51.41 kB / 498.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1062, allocations: 163.3 kB / 498.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1063, allocations: 29.7 kB / 498.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.1063, allocations: 123.9 kB / 498.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.1064, allocations: 23.78 kB / 498.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.1064, allocations: 25.72 kB / 498.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1066, allocations: 322.8 kB / 499 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.1066, allocations: 23.98 kB / 499 MB, free: 1.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.1067, allocations: 59.3 kB / 499.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1068, allocations: 71.31 kB / 499.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1068, allocations: 0 / 499.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000176/0.107, allocations: 105.5 kB / 499.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.107, allocations: 4 kB / 499.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.107, allocations: 8.078 kB / 499.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.107, allocations: 4 kB / 499.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.1073, allocations: 35.92 kB / 499.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.1084, allocations: 1.309 MB / 0.4889 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.1084, allocations: 15.92 kB / 0.4889 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1084, allocations: 4 kB / 0.4889 GB, free: 15.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.0001068/0.1085, allocations: 113.9 kB / 0.489 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.1086, allocations: 19.84 kB / 0.489 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.1086, allocations: 17.41 kB / 0.489 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1086, allocations: 256 / 0.489 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1086, allocations: 0 / 0.489 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1086, allocations: 7.984 kB / 0.489 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.1091, allocations: 342.4 kB / 0.4894 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1091, allocations: 3.984 kB / 0.4894 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.1093, allocations: 32.02 kB / 0.4894 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.1093, allocations: 4 kB / 0.4894 GB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1093, allocations: 0 / 0.4894 GB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.1104, allocations: 1.301 MB / 0.4907 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1104, allocations: 0 / 0.4907 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.1106, allocations: 196.3 kB / 0.4909 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.1106, allocations: 24.08 kB / 0.4909 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.1106, allocations: 4 kB / 0.4909 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.1107, allocations: 3.938 kB / 0.4909 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.1107, allocations: 4 kB / 0.4909 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1107, allocations: 4 kB / 0.4909 GB, free: 13.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1108, allocations: 123.9 kB / 0.491 GB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1108, allocations: 0 / 0.491 GB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1111, allocations: 23.94 kB / 0.491 GB, free: 13.07 MB / 366.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 (6): * Single equations (assignments): 5 * 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.00052/0.1116, allocations: 0.7369 MB / 0.4918 GB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.1119, allocations: 67.78 kB / 0.4918 GB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1119, allocations: 0 / 0.4918 GB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.112, allocations: 44.16 kB / 0.4919 GB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.1125, allocations: 43.39 kB / 0.4919 GB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.1147, allocations: 1.73 MB / 0.4936 GB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.115, allocations: 0.708 MB / 0.4943 GB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.718e-05/0.1151, allocations: 4.5 kB / 0.4943 GB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/0.1152, allocations: 51.41 kB / 0.4943 GB, free: 9.535 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1152, allocations: 0 / 0.4943 GB, free: 9.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.1459, allocations: 3.123 MB / 0.4974 GB, free: 6.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.33, allocations: 3.859 kB / 0.4974 GB, free: 6.578 MB / 366.1 MB " [Timeout remaining time 649] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.144471841864288] Failed to read output from testmodel.py, exit status != 0: 11.438211787957698 11.646082222 11.538565719 Calling exit ...