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.001748/0.001748, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.002311/0.002311, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.008115/0.008115, allocations: 1.34 MB / 310.2 MB, free: 3.031 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.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.002168/0.002168, allocations: 63.91 kB / 434.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09872/0.1009, allocations: 53.64 MB / 488.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003045/0.1039, allocations: 1.715 MB / 490 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.105, allocations: 0.5767 MB / 490.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.1051, allocations: 0 / 490.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.1053, allocations: 19.8 kB / 490.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.1054, allocations: 27.72 kB / 490.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1057, allocations: 91.81 kB / 490.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.1059, allocations: 155.4 kB / 490.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.106, allocations: 37.8 kB / 490.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.003e-05/0.1061, allocations: 47.86 kB / 490.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.1062, allocations: 47.72 kB / 491 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.1062, allocations: 11.94 kB / 491 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.031e-05/0.1062, allocations: 12 kB / 491 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.1063, allocations: 15.92 kB / 491 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.1063, allocations: 63.61 kB / 491.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1065, allocations: 115.5 kB / 491.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1066, allocations: 4 kB / 491.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1066, allocations: 3.938 kB / 491.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1066, allocations: 0 / 491.2 MB, free: 5.504 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.0006395/0.1072, allocations: 442.7 kB / 491.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1072, allocations: 8.031 kB / 491.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.46e-05/0.1073, allocations: 42.94 kB / 491.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.1074, allocations: 16.84 kB / 491.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1076, allocations: 216 kB / 491.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1076, allocations: 4.562 kB / 491.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.1076, allocations: 16.12 kB / 491.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1078, allocations: 111.4 kB / 492 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1079, allocations: 0 / 492 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1079, allocations: 4 kB / 492 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1079, allocations: 4 kB / 492 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.61e-05/0.108, allocations: 39.92 kB / 492.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007905/0.1088, allocations: 0.4929 MB / 492.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1089, allocations: 58.56 kB / 492.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.1089, allocations: 20.98 kB / 492.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.1089, allocations: 0 / 492.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.109, allocations: 38.5 kB / 492.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.109, allocations: 0 / 492.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000255/0.1092, allocations: 85.64 kB / 492.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1093, allocations: 51.41 kB / 492.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1094, allocations: 168 kB / 493 MB, free: 3.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1095, allocations: 29.7 kB / 493 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.1095, allocations: 120 kB / 493.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1096, allocations: 27.78 kB / 493.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.1096, allocations: 25.72 kB / 493.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1097, allocations: 334.7 kB / 493.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.1098, allocations: 15.98 kB / 493.5 MB, free: 2.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1099, allocations: 55.31 kB / 493.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.11, allocations: 71.36 kB / 493.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.11, allocations: 4 kB / 493.7 MB, free: 2.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001699/0.1102, allocations: 105.5 kB / 493.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1102, allocations: 4 kB / 493.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1102, allocations: 7.938 kB / 493.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1102, allocations: 0 / 493.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.1105, allocations: 39.97 kB / 493.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.1117, allocations: 1.405 MB / 495.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.1117, allocations: 16.08 kB / 495.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1117, allocations: 4 kB / 495.2 MB, free: 1.055 MB / 350.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.0001107/0.1118, allocations: 121.8 kB / 495.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.1119, allocations: 19.83 kB / 495.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.1119, allocations: 13.41 kB / 495.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1119, allocations: 0 / 495.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.1119, allocations: 0 / 495.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1119, allocations: 0 / 495.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.1124, allocations: 379.3 kB / 495.8 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1124, allocations: 0 / 495.8 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.1126, allocations: 35.91 kB / 495.8 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1126, allocations: 0 / 495.8 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1126, allocations: 4 kB / 495.8 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.1137, allocations: 1.4 MB / 497.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1137, allocations: 4.031 kB / 497.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1139, allocations: 196.5 kB / 497.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.114, allocations: 101 kB / 497.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.114, allocations: 4.125 kB / 497.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.1141, allocations: 3.938 kB / 497.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.1141, allocations: 8 kB / 497.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1141, allocations: 4 kB / 497.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.899e-05/0.1142, allocations: 122.6 kB / 497.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1142, allocations: 0 / 497.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1145, allocations: 27.94 kB / 497.7 MB, free: 14.39 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.0005084/0.115, allocations: 0.7333 MB / 498.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.1152, allocations: 67.97 kB / 498.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1153, allocations: 0 / 498.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1154, allocations: 35.86 kB / 498.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.1158, allocations: 38.88 kB / 498.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.1178, allocations: 1.727 MB / 0.4885 GB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1181, allocations: 0.7119 MB / 0.4892 GB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.289e-05/0.1182, allocations: 12.88 kB / 0.4892 GB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.1182, allocations: 39.42 kB / 0.4893 GB, free: 10.87 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1182, allocations: 0 / 0.4893 GB, free: 10.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.1423, allocations: 2.988 MB / 0.4922 GB, free: 8.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/8.358, allocations: 21.53 kB / 0.4922 GB, free: 8.062 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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: 11.063071832060814] Failed to read output from testmodel.py, exit status != 0: 8.43574978923425 8.451785301 8.342141228 Calling exit ...