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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 110.2 kB / 16.41 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.008064/0.008064, allocations: 1.327 MB / 298.5 MB, free: 11.41 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002968/0.002968, allocations: 59.89 kB / 414.5 MB, free: 27.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1062, allocations: 49.74 MB / 464.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.00293/0.1091, allocations: 1.627 MB / 465.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.1101, allocations: 0.5222 MB / 466.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.1101, allocations: 0 / 466.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.1103, allocations: 15.8 kB / 466.4 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.05e-05/0.1103, allocations: 19.8 kB / 466.4 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1106, allocations: 87.83 kB / 466.5 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1108, allocations: 119.5 kB / 466.6 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1109, allocations: 37.56 kB / 466.7 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.111, allocations: 43.78 kB / 466.7 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.1111, allocations: 35.78 kB / 466.7 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1111, allocations: 4 kB / 466.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.1111, allocations: 8 kB / 466.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.1111, allocations: 23.92 kB / 466.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.1112, allocations: 39.75 kB / 466.8 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1114, allocations: 95.5 kB / 466.9 MB, free: 7.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1114, allocations: 0 / 466.9 MB, free: 7.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1114, allocations: 4 kB / 466.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1114, allocations: 0 / 466.9 MB, free: 7.398 MB / 334.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.0005068/0.1119, allocations: 414.8 kB / 467.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.112, allocations: 11.89 kB / 467.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.112, allocations: 38.75 kB / 467.4 MB, free: 6.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.1121, allocations: 16.84 kB / 467.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1123, allocations: 199.2 kB / 467.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1123, allocations: 12.31 kB / 467.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.1124, allocations: 11.89 kB / 467.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1125, allocations: 95.62 kB / 467.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1125, allocations: 0 / 467.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1125, allocations: 4 kB / 467.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1126, allocations: 0 / 467.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.883e-05/0.1126, allocations: 35.92 kB / 467.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006598/0.1133, allocations: 0.5204 MB / 468.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.631e-05/0.1134, allocations: 30.56 kB / 468.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.1134, allocations: 20.86 kB / 468.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.1134, allocations: 0 / 468.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1135, allocations: 38.44 kB / 468.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1135, allocations: 0 / 468.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001732/0.1137, allocations: 61.73 kB / 468.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1137, allocations: 51.41 kB / 468.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1139, allocations: 166.3 kB / 468.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1139, allocations: 33.7 kB / 468.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.114, allocations: 115.9 kB / 468.8 MB, free: 5.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.114, allocations: 11.89 kB / 468.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.1141, allocations: 41.66 kB / 468.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1142, allocations: 318.8 kB / 469.1 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/0.1143, allocations: 23.98 kB / 469.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.608e-05/0.1144, allocations: 79.66 kB / 469.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1145, allocations: 107.6 kB / 469.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1145, allocations: 0 / 469.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002059/0.1147, allocations: 141.6 kB / 469.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1147, allocations: 7.938 kB / 469.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1148, allocations: 4 kB / 469.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1148, allocations: 8.219 kB / 469.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1149, allocations: 23.98 kB / 469.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1149, allocations: 7.938 kB / 469.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.115, allocations: 15.89 kB / 469.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.115, allocations: 8 kB / 469.5 MB, free: 4.469 MB / 334.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.0001018/0.1151, allocations: 117.8 kB / 469.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1151, allocations: 15.84 kB / 469.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.1152, allocations: 16.92 kB / 469.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1152, allocations: 3.938 kB / 469.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1152, allocations: 4 kB / 469.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1152, allocations: 0 / 469.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.1156, allocations: 327.3 kB / 470 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1156, allocations: 4 kB / 470 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.636e-05/0.1157, allocations: 11.98 kB / 470 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1157, allocations: 3.938 kB / 470 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1157, allocations: 64 / 470 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1157, allocations: 4 kB / 470 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1157, allocations: 4.062 kB / 470.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1159, allocations: 164.2 kB / 470.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.116, allocations: 93.08 kB / 470.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.116, allocations: 4 kB / 470.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.1161, allocations: 0 / 470.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.1161, allocations: 0 / 470.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1161, allocations: 4.062 kB / 470.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1162, allocations: 129.8 kB / 470.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1162, allocations: 0 / 470.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1165, allocations: 23.94 kB / 470.5 MB, free: 3.445 MB / 334.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.0004686/0.1169, allocations: 0.7054 MB / 471.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.1171, allocations: 55.86 kB / 471.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1171, allocations: 0 / 471.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.76e-05/0.1171, allocations: 8 kB / 471.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.1176, allocations: 40.77 kB / 471.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.1195, allocations: 1.728 MB / 473 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1198, allocations: 0.6963 MB / 473.7 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.298e-05/0.1199, allocations: 17.02 kB / 473.7 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.1199, allocations: 31.42 kB / 473.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1199, allocations: 0 / 473.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.1457, allocations: 2.535 MB / 476.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.257, allocations: 8.156 kB / 476.3 MB, free: 13.62 MB / 350.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.857964841998182] Failed to read output from testmodel.py, exit status != 0: 8.327183622051962 8.345898019 8.231770786 Calling exit ...