Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.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.001526/0.001526, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001476/0.001476, allocations: 214.6 kB / 22.26 MB, free: 5.125 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.977 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.01719/0.01719, allocations: 1.342 MB / 313.8 MB, free: 1.824 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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",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.002034/0.002034, allocations: 75.88 kB / 439.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1045, allocations: 53.66 MB / 493.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003211/0.1077, allocations: 1.707 MB / 494.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1089, allocations: 0.5806 MB / 495.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.109, allocations: 4 kB / 495.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.1091, allocations: 19.8 kB / 495.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.1092, allocations: 27.72 kB / 495.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1094, allocations: 87.88 kB / 495.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.1097, allocations: 123.5 kB / 495.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1098, allocations: 33.52 kB / 495.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.316e-05/0.1099, allocations: 43.73 kB / 495.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.11, allocations: 47.72 kB / 495.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.11, allocations: 12 kB / 495.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.11, allocations: 11.94 kB / 495.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.1101, allocations: 31.91 kB / 495.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.1101, allocations: 47.73 kB / 495.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1103, allocations: 115.4 kB / 496 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1103, allocations: 0 / 496 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1103, allocations: 0 / 496 MB, free: 4.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1103, allocations: 0 / 496 MB, free: 4.422 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.000648/0.111, allocations: 345.8 kB / 496.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.111, allocations: 12.03 kB / 496.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.1111, allocations: 42.73 kB / 496.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.1111, allocations: 16.84 kB / 496.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1113, allocations: 148.5 kB / 496.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1114, allocations: 4.375 kB / 496.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.1114, allocations: 12.38 kB / 496.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1116, allocations: 104.4 kB / 496.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1116, allocations: 3.938 kB / 496.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1116, allocations: 4 kB / 496.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1116, allocations: 7.938 kB / 496.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-05/0.1117, allocations: 31.98 kB / 496.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000873/0.1126, allocations: 0.5194 MB / 497.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1127, allocations: 54.55 kB / 497.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.1127, allocations: 16.89 kB / 497.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1128, allocations: 4 kB / 497.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1128, allocations: 30.56 kB / 497.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1128, allocations: 0 / 497.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002023/0.113, allocations: 77.7 kB / 497.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.113, allocations: 51.41 kB / 497.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1132, allocations: 191.3 kB / 497.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1132, allocations: 25.7 kB / 497.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.1133, allocations: 112 kB / 497.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.1133, allocations: 19.83 kB / 497.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.1134, allocations: 33.72 kB / 497.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1135, allocations: 322.8 kB / 498.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.874e-05/0.1136, allocations: 23.98 kB / 498.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.1136, allocations: 55.41 kB / 498.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1138, allocations: 79.36 kB / 498.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1138, allocations: 0 / 498.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001871/0.1139, allocations: 117.5 kB / 498.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.114, allocations: 16.03 kB / 498.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.114, allocations: 0 / 498.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.114, allocations: 0 / 498.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1141, allocations: 31.92 kB / 498.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1141, allocations: 7.938 kB / 498.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.1142, allocations: 15.89 kB / 498.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1142, allocations: 4 kB / 498.5 MB, free: 1.688 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 (15): * Single equations (assignments): 15 * 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.000112/0.1143, allocations: 121.8 kB / 498.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.1143, allocations: 15.84 kB / 498.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.1144, allocations: 21.03 kB / 498.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1144, allocations: 0 / 498.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1144, allocations: 0 / 498.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1144, allocations: 0 / 498.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.1148, allocations: 318.4 kB / 498.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1148, allocations: 4 kB / 498.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.115, allocations: 19.98 kB / 499 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.115, allocations: 0 / 499 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.115, allocations: 4.031 kB / 499 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.1162, allocations: 1.301 MB / 0.4885 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.1162, allocations: 4.031 kB / 0.4885 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.1164, allocations: 172.3 kB / 0.4887 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.1164, allocations: 23.92 kB / 0.4887 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1164, allocations: 128 / 0.4887 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.1165, allocations: 11.94 kB / 0.4887 GB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.1165, allocations: 11.98 kB / 0.4887 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1165, allocations: 3.938 kB / 0.4887 GB, free: 15.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1166, allocations: 127.2 kB / 0.4889 GB, free: 15.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1166, allocations: 3.938 kB / 0.4889 GB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1169, allocations: 27.94 kB / 0.4889 GB, free: 15.32 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 (4): * Single equations (assignments): 3 * 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.0004984/0.1174, allocations: 0.7134 MB / 0.4896 GB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.1175, allocations: 55.88 kB / 0.4896 GB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1175, allocations: 0 / 0.4896 GB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1177, allocations: 23.92 kB / 0.4897 GB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.1182, allocations: 50.06 kB / 0.4897 GB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.1201, allocations: 1.725 MB / 0.4914 GB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1205, allocations: 0.7081 MB / 0.4921 GB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.13e-05/0.1205, allocations: 20.89 kB / 0.4921 GB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.1206, allocations: 35.42 kB / 0.4921 GB, free: 11.84 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1206, allocations: 3.938 kB / 0.4922 GB, free: 11.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.15, allocations: 3 MB / 0.4951 GB, free: 9.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.05, allocations: 6.469 kB / 0.4951 GB, free: 9.008 MB / 366.1 MB " [Timeout remaining time 649] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD_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_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.997253175002697] Failed to read output from testmodel.py, exit status != 0: 11.163635229000647 11.354643471 11.240792674 Calling exit ...