Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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.001398/0.001398, allocations: 105.1 kB / 16.46 MB, free: 6.512 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.001498/0.001498, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.008119/0.008119, allocations: 1.336 MB / 310.2 MB, free: 3.016 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.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_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.003161/0.003161, allocations: 75.89 kB / 433.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1155, allocations: 53.63 MB / 487.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003862/0.1193, allocations: 1.668 MB / 489.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1205, allocations: 0.5611 MB / 489.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1207, allocations: 4 kB / 489.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.1208, allocations: 7.875 kB / 489.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.1209, allocations: 27.78 kB / 489.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1211, allocations: 75.84 kB / 489.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1214, allocations: 123.6 kB / 490 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1215, allocations: 33.5 kB / 490 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.107e-05/0.1216, allocations: 35.8 kB / 490.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.1217, allocations: 35.8 kB / 490.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.1217, allocations: 8 kB / 490.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.715e-05/0.1217, allocations: 8 kB / 490.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.1218, allocations: 19.92 kB / 490.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.1218, allocations: 51.66 kB / 490.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.122, allocations: 87.52 kB / 490.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.122, allocations: 0 / 490.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.122, allocations: 4 kB / 490.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.122, allocations: 0 / 490.3 MB, free: 6.543 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006723/0.1227, allocations: 403 kB / 490.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.1228, allocations: 12.03 kB / 490.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.717e-05/0.1228, allocations: 38.69 kB / 490.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.1229, allocations: 16.88 kB / 490.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.1233, allocations: 200.8 kB / 490.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1233, allocations: 8.375 kB / 490.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.1233, allocations: 7.938 kB / 490.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.1236, allocations: 100.2 kB / 491 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1236, allocations: 0 / 491 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1236, allocations: 4 kB / 491 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1236, allocations: 4 kB / 491 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.999e-05/0.1237, allocations: 27.98 kB / 491.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.1245, allocations: 0.5282 MB / 491.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.743e-05/0.1246, allocations: 30.52 kB / 491.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.1246, allocations: 16.94 kB / 491.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.1247, allocations: 4 kB / 491.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.1247, allocations: 38.5 kB / 491.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.1247, allocations: 0 / 491.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002096/0.1249, allocations: 65.47 kB / 491.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.125, allocations: 55.41 kB / 491.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1252, allocations: 174.3 kB / 492 MB, free: 4.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1252, allocations: 25.7 kB / 492 MB, free: 4.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.1253, allocations: 120 kB / 492.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.1253, allocations: 15.84 kB / 492.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.1254, allocations: 37.7 kB / 492.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.1256, allocations: 322.8 kB / 492.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.1257, allocations: 20 kB / 492.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.981e-05/0.1257, allocations: 71.72 kB / 492.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.1259, allocations: 111.6 kB / 492.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1259, allocations: 4 kB / 492.7 MB, free: 3.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002267/0.1261, allocations: 141.3 kB / 492.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1261, allocations: 4 kB / 492.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1262, allocations: 4 kB / 492.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1262, allocations: 4 kB / 492.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1263, allocations: 27.92 kB / 492.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1263, allocations: 4.062 kB / 492.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.1264, allocations: 24.11 kB / 492.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1264, allocations: 4 kB / 492.9 MB, free: 3.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 16 * 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.0001242/0.1266, allocations: 125.8 kB / 493 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.1266, allocations: 15.89 kB / 493 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.1266, allocations: 4.938 kB / 493 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1266, allocations: 4 kB / 493 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1266, allocations: 0 / 493 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1266, allocations: 0 / 493 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.1271, allocations: 339.2 kB / 493.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1271, allocations: 0 / 493.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.518e-05/0.1272, allocations: 8 kB / 493.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1272, allocations: 4 kB / 493.4 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1272, allocations: 3.984 kB / 493.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.1272, allocations: 3.984 kB / 493.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1272, allocations: 0 / 493.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1274, allocations: 168.3 kB / 493.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.1275, allocations: 89.38 kB / 493.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.1276, allocations: 7.984 kB / 493.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.1276, allocations: 3.938 kB / 493.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.1276, allocations: 3.984 kB / 493.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1276, allocations: 0 / 493.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1278, allocations: 131.2 kB / 493.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1278, allocations: 0 / 493.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.128, allocations: 19.95 kB / 493.8 MB, free: 2.582 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 (3): * Single equations (assignments): 3 * 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.0006542/0.1287, allocations: 0.7041 MB / 494.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.1289, allocations: 52.23 kB / 494.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1289, allocations: 4.188 kB / 494.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/0.1289, allocations: 7.938 kB / 494.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.1294, allocations: 35.2 kB / 494.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.1315, allocations: 1.735 MB / 496.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.1319, allocations: 0.6963 MB / 497 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.557e-05/0.1319, allocations: 12.88 kB / 497.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/0.132, allocations: 31.42 kB / 497.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.132, allocations: 0 / 497.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.1607, allocations: 2.562 MB / 499.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.224, allocations: 12.31 kB / 499.7 MB, free: 12.73 MB / 366.1 MB " [Timeout remaining time 652] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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_SteadyState_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.87291421322152] Failed to read output from testmodel.py, exit status != 0: 8.296775370836258 8.323922877 8.196696886 Calling exit ...