Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_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.00133/0.00133, 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.001956/0.001956, allocations: 214 kB / 22.25 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.98 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.008288/0.008288, allocations: 1.341 MB / 313.8 MB, free: 1.852 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.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_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.002823/0.002823, allocations: 67.89 kB / 439.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1134, allocations: 53.67 MB / 493.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.004108/0.1176, allocations: 2.004 MB / 495.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.119, allocations: 0.6039 MB / 495.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1191, allocations: 7.938 kB / 495.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.1193, allocations: 27.73 kB / 495.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.1194, allocations: 31.72 kB / 495.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.1198, allocations: 95.83 kB / 495.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.1201, allocations: 187.3 kB / 496 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1203, allocations: 45.69 kB / 496.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.984e-05/0.1204, allocations: 63.72 kB / 496.2 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1205, allocations: 75.56 kB / 496.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1205, allocations: 12 kB / 496.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.223e-05/0.1205, allocations: 12 kB / 496.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.1206, allocations: 31.86 kB / 496.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.333e-05/0.1207, allocations: 75.59 kB / 496.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1209, allocations: 147.2 kB / 496.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1209, allocations: 0 / 496.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1209, allocations: 3.938 kB / 496.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1209, allocations: 0 / 496.5 MB, free: 3.898 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006415/0.1215, allocations: 397.5 kB / 496.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1216, allocations: 12.03 kB / 496.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.1216, allocations: 46.73 kB / 497 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.1217, allocations: 20.8 kB / 497 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.122, allocations: 162.2 kB / 497.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.122, allocations: 8.375 kB / 497.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.122, allocations: 12.38 kB / 497.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1222, allocations: 135.4 kB / 497.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1223, allocations: 0 / 497.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1223, allocations: 8 kB / 497.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1223, allocations: 4 kB / 497.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.1224, allocations: 63.95 kB / 497.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008481/0.1233, allocations: 0.5073 MB / 497.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1235, allocations: 78.56 kB / 497.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.794e-05/0.1236, allocations: 44.83 kB / 498 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1236, allocations: 3.938 kB / 498 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.1236, allocations: 34.69 kB / 498 MB, free: 2.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1236, allocations: 0 / 498 MB, free: 2.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003835/0.124, allocations: 129.5 kB / 498.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.1241, allocations: 55.39 kB / 498.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1243, allocations: 180.2 kB / 498.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1243, allocations: 29.7 kB / 498.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1244, allocations: 124.4 kB / 498.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.1245, allocations: 39.67 kB / 498.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.1245, allocations: 37.7 kB / 498.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1247, allocations: 322.8 kB / 498.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.1248, allocations: 35.98 kB / 499 MB, free: 1.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1249, allocations: 58.55 kB / 499 MB, free: 1.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.1251, allocations: 94.5 kB / 499.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1251, allocations: 0 / 499.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002734/0.1254, allocations: 156.5 kB / 499.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1254, allocations: 10.5 kB / 499.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1254, allocations: 0 / 499.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1254, allocations: 0 / 499.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.1256, allocations: 43.92 kB / 499.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1256, allocations: 4.312 kB / 499.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.1257, allocations: 23.88 kB / 499.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.1257, allocations: 8 kB / 499.3 MB, free: 0.8438 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.0001157/0.1258, allocations: 125.9 kB / 499.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.1258, allocations: 19.78 kB / 499.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.1259, allocations: 17.41 kB / 499.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1259, allocations: 0 / 499.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1259, allocations: 3.984 kB / 499.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1259, allocations: 7.984 kB / 499.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/0.1264, allocations: 386.3 kB / 499.9 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1265, allocations: 4.031 kB / 499.9 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.1267, allocations: 31.98 kB / 499.9 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.1267, allocations: 3.938 kB / 499.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1267, allocations: 3.984 kB / 499.9 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.1279, allocations: 1.293 MB / 0.4895 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1279, allocations: 0 / 0.4895 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.1283, allocations: 244.4 kB / 0.4897 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.1283, allocations: 23.86 kB / 0.4897 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.1284, allocations: 7.938 kB / 0.4897 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.1284, allocations: 7.938 kB / 0.4898 GB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.1285, allocations: 7.984 kB / 0.4898 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1285, allocations: 0 / 0.4898 GB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1286, allocations: 139.4 kB / 0.4899 GB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1286, allocations: 4.062 kB / 0.4899 GB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1289, allocations: 28 kB / 0.4899 GB, free: 14.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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.0006181/0.1295, allocations: 0.7757 MB / 0.4907 GB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.1297, allocations: 83.89 kB / 0.4908 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1297, allocations: 0 / 0.4908 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.1299, allocations: 43.92 kB / 0.4908 GB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.1303, allocations: 54.53 kB / 0.4909 GB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.1326, allocations: 1.944 MB / 0.4928 GB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.133, allocations: 0.724 MB / 0.4935 GB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.354e-05/0.1331, allocations: 13.08 kB / 0.4935 GB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.653e-05/0.1332, allocations: 47.42 kB / 0.4935 GB, free: 10.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1332, allocations: 0 / 0.4935 GB, free: 10.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.1655, allocations: 3.662 MB / 0.4971 GB, free: 6.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.27, allocations: 8.062 kB / 0.4971 GB, free: 6.984 MB / 366.1 MB " [Timeout remaining time 649] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.133561284979805] Failed to read output from testmodel.py, exit status != 0: 11.38728799414821 11.581936216 11.458373127 Calling exit ...