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.001268/0.001268, allocations: 112.5 kB / 16.46 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.001399/0.001399, 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.536/1.536, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.008476/0.008476, allocations: 1.352 MB / 310.2 MB, free: 3.008 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.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: 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.001944/0.001944, allocations: 70.2 kB / 434.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1134, allocations: 53.64 MB / 488.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003798/0.1172, allocations: 1.677 MB / 489.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1186, allocations: 0.5611 MB / 490.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.1187, allocations: 0 / 490.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.1188, allocations: 15.8 kB / 490.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.013e-05/0.1189, allocations: 27.78 kB / 490.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1192, allocations: 75.84 kB / 490.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.1195, allocations: 127.6 kB / 490.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1196, allocations: 41.39 kB / 490.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.1197, allocations: 47.73 kB / 490.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1198, allocations: 43.72 kB / 490.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1198, allocations: 8 kB / 490.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.1199, allocations: 8 kB / 490.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.1199, allocations: 19.94 kB / 490.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.12, allocations: 51.61 kB / 491 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1202, allocations: 99.55 kB / 491 MB, free: 5.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1202, allocations: 0 / 491 MB, free: 5.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1202, allocations: 0 / 491 MB, free: 5.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1202, allocations: 0 / 491 MB, free: 5.637 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.000691/0.1209, allocations: 418.9 kB / 491.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1209, allocations: 11.97 kB / 491.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.719e-05/0.121, allocations: 42.75 kB / 491.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.1211, allocations: 16.84 kB / 491.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1213, allocations: 200.7 kB / 491.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1214, allocations: 12.33 kB / 491.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.1214, allocations: 11.94 kB / 491.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.1216, allocations: 102.1 kB / 491.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1216, allocations: 4 kB / 491.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1217, allocations: 4 kB / 491.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1217, allocations: 0 / 491.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1218, allocations: 35.98 kB / 491.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008463/0.1226, allocations: 464.7 kB / 492.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.1229, allocations: 62.53 kB / 492.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.1229, allocations: 21.02 kB / 492.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.123, allocations: 3.938 kB / 492.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.123, allocations: 34.56 kB / 492.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.123, allocations: 0 / 492.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002563/0.1233, allocations: 77.53 kB / 492.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.1233, allocations: 55.41 kB / 492.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1235, allocations: 154.2 kB / 492.7 MB, free: 3.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1235, allocations: 29.7 kB / 492.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1236, allocations: 123.9 kB / 492.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.1237, allocations: 23.83 kB / 492.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.1237, allocations: 25.72 kB / 492.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1239, allocations: 322.8 kB / 493.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.388e-05/0.1239, allocations: 12 kB / 493.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1241, allocations: 66 kB / 493.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.1242, allocations: 102.1 kB / 493.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1242, allocations: 0 / 493.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002765/0.1245, allocations: 125.4 kB / 493.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1245, allocations: 7.125 kB / 493.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1245, allocations: 4 kB / 493.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1245, allocations: 3.938 kB / 493.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1247, allocations: 31.92 kB / 493.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1247, allocations: 4.156 kB / 493.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.1248, allocations: 7.938 kB / 493.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1248, allocations: 4 kB / 493.6 MB, free: 2.789 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.0001299/0.1249, allocations: 121.8 kB / 493.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.125, allocations: 15.84 kB / 493.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.125, allocations: 16.23 kB / 493.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.125, allocations: 0 / 493.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.125, allocations: 4 kB / 493.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.125, allocations: 0 / 493.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.1256, allocations: 351.3 kB / 494.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1256, allocations: 0 / 494.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.1257, allocations: 23.92 kB / 494.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1257, allocations: 0 / 494.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1257, allocations: 8 kB / 494.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1258, allocations: 0 / 494.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1258, allocations: 0 / 494.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.126, allocations: 188.3 kB / 494.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.1261, allocations: 89.03 kB / 494.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.1261, allocations: 8.125 kB / 494.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1262, allocations: 4 kB / 494.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.1262, allocations: 3.984 kB / 494.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.1263, allocations: 4 kB / 494.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1264, allocations: 120.1 kB / 494.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1264, allocations: 4 kB / 494.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004083/0.1268, allocations: 20 kB / 494.6 MB, free: 1.723 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.0006059/0.1274, allocations: 0.7132 MB / 495.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1276, allocations: 60.11 kB / 495.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1276, allocations: 0 / 495.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.1276, allocations: 15.98 kB / 495.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/0.1282, allocations: 34.33 kB / 495.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.1307, allocations: 1.693 MB / 497.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.1312, allocations: 0.7079 MB / 497.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.478e-05/0.1312, allocations: 12.55 kB / 497.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.1313, allocations: 31.44 kB / 497.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1313, allocations: 0 / 497.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.1586, allocations: 2.637 MB / 0.4887 GB, free: 11.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/8.378, allocations: 7.688 kB / 0.4888 GB, free: 11.83 MB / 366.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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.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_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: 11.048352512996644] Failed to read output from testmodel.py, exit status != 0: 8.447435661684722 8.462131677 8.338951656 Calling exit ...