Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) 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.CL_Simulation_OFF_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_CL_Simulation_OFF_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_CL_Simulation_OFF_BWD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00596/0.00596, allocations: 100.9 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 195.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008418/0.008418, allocations: 1.32 MB / 291.9 MB, free: 13.53 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003037/0.003037, allocations: 59.91 kB / 405.8 MB, free: 29.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.105, allocations: 49.72 MB / 455.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD): time 0.003418/0.1085, allocations: 1.883 MB / 457.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1095, allocations: 0.5454 MB / 458 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.1096, allocations: 4 kB / 458 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.1098, allocations: 23.73 kB / 458 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.483e-05/0.1099, allocations: 19.73 kB / 458 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1102, allocations: 99.81 kB / 458.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.1104, allocations: 179.5 kB / 458.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.1106, allocations: 65.62 kB / 458.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.271e-05/0.1107, allocations: 47.8 kB / 458.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1108, allocations: 63.58 kB / 458.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.1109, allocations: 8 kB / 458.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.09e-05/0.1109, allocations: 12 kB / 458.5 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.1109, allocations: 23.92 kB / 458.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.192e-05/0.111, allocations: 67.55 kB / 458.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.1112, allocations: 143.5 kB / 458.7 MB, free: 8.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1112, allocations: 4 kB / 458.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1113, allocations: 0 / 458.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1113, allocations: 0 / 458.7 MB, free: 8.156 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006562/0.1119, allocations: 454.9 kB / 459.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.112, allocations: 15.88 kB / 459.2 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.112, allocations: 42.75 kB / 459.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.1121, allocations: 16.84 kB / 459.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1124, allocations: 222.4 kB / 459.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1124, allocations: 12.61 kB / 459.5 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.1124, allocations: 12.38 kB / 459.5 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.1127, allocations: 137 kB / 459.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1127, allocations: 0 / 459.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1127, allocations: 4 kB / 459.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1127, allocations: 4 kB / 459.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.1129, allocations: 68.55 kB / 459.7 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008421/0.1138, allocations: 0.52 MB / 460.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.114, allocations: 78.53 kB / 460.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/0.1141, allocations: 36.91 kB / 460.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.1141, allocations: 4 kB / 460.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1141, allocations: 38.55 kB / 460.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1141, allocations: 0 / 460.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003153/0.1145, allocations: 109.5 kB / 460.5 MB, free: 6.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1145, allocations: 55.41 kB / 460.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.1148, allocations: 184.2 kB / 460.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1148, allocations: 25.7 kB / 460.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1149, allocations: 136.3 kB / 460.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.115, allocations: 31.73 kB / 460.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.544e-05/0.1151, allocations: 37.7 kB / 460.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1153, allocations: 322.8 kB / 461.3 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1154, allocations: 40.84 kB / 461.3 MB, free: 5.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1155, allocations: 85.02 kB / 461.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1158, allocations: 115.7 kB / 461.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1158, allocations: 4 kB / 461.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002969/0.1161, allocations: 157.4 kB / 461.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1161, allocations: 4 kB / 461.6 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1161, allocations: 4.312 kB / 461.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1161, allocations: 0 / 461.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1163, allocations: 35.98 kB / 461.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1163, allocations: 7.938 kB / 461.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.1164, allocations: 23.98 kB / 461.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1164, allocations: 15.98 kB / 461.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001516/0.1166, allocations: 120.1 kB / 461.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001288/0.1167, allocations: 79.7 kB / 461.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002616/0.117, allocations: 116.2 kB / 462 MB, free: 4.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.117, allocations: 0 / 462 MB, free: 4.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004165/0.1174, allocations: 165.4 kB / 462.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.1175, allocations: 8.031 kB / 462.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1175, allocations: 4 kB / 462.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.1175, allocations: 0 / 462.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1177, allocations: 35.92 kB / 462.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1177, allocations: 4 kB / 462.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1178, allocations: 15.98 kB / 462.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1178, allocations: 4 kB / 462.3 MB, free: 4.281 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 20 * 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.0001526/0.118, allocations: 192.1 kB / 462.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.1181, allocations: 23.91 kB / 462.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.1181, allocations: 9.406 kB / 462.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1181, allocations: 7.938 kB / 462.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1182, allocations: 0 / 462.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1182, allocations: 0 / 462.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007321/0.1189, allocations: 403.2 kB / 462.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.1189, allocations: 4 kB / 462.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.1191, allocations: 15.98 kB / 462.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.1191, allocations: 8.031 kB / 462.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1191, allocations: 0 / 462.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1191, allocations: 0 / 462.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1191, allocations: 0 / 462.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.1196, allocations: 240.1 kB / 463.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1197, allocations: 93.05 kB / 463.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1197, allocations: 4.062 kB / 463.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.1199, allocations: 4 kB / 463.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.1199, allocations: 0 / 463.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1199, allocations: 4 kB / 463.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.1201, allocations: 136 kB / 463.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1201, allocations: 0 / 463.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00054/0.1206, allocations: 51.84 kB / 463.4 MB, free: 3.004 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 (8): * Single equations (assignments): 8 * 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.0008137/0.1215, allocations: 0.7601 MB / 464.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004783/0.122, allocations: 152.2 kB / 464.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.122, allocations: 4.188 kB / 464.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1221, allocations: 31.98 kB / 464.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.1227, allocations: 47.47 kB / 464.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.1257, allocations: 1.887 MB / 466.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.1263, allocations: 0.7202 MB / 467 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.1264, allocations: 17 kB / 467.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1266, allocations: 43.42 kB / 467.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of SimCode: time 1.393e-06/0.1266, allocations: 0 / 467.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.1607, allocations: 3.056 MB / 470.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.354, allocations: 12.12 kB / 470.2 MB, free: 12.31 MB / 350.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_CL_Simulation_OFF_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe 2>&1)