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.001324/0.001324, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001425/0.001425, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.00811/0.00811, allocations: 1.34 MB / 314.5 MB, free: 1.633 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) Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") [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.002556/0.002556, allocations: 71.89 kB / 440.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1084, allocations: 53.68 MB / 494.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003783/0.1122, allocations: 1.928 MB / 496.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1135, allocations: 0.5611 MB / 496.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1137, allocations: 8 kB / 496.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1139, allocations: 23.73 kB / 496.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.114, allocations: 35.66 kB / 496.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.1143, allocations: 103.8 kB / 496.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.1146, allocations: 179.4 kB / 497.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1148, allocations: 49.67 kB / 497.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1149, allocations: 71.59 kB / 497.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.115, allocations: 55.64 kB / 497.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.1151, allocations: 12 kB / 497.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.1151, allocations: 19.94 kB / 497.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.1151, allocations: 23.92 kB / 497.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.251e-05/0.1152, allocations: 63.66 kB / 497.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1154, allocations: 151.3 kB / 497.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1154, allocations: 0 / 497.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1154, allocations: 3.938 kB / 497.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1154, allocations: 0 / 497.5 MB, free: 3.32 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.0007201/0.1162, allocations: 393.4 kB / 497.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1162, allocations: 16.03 kB / 497.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/0.1163, allocations: 20.8 kB / 498 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1166, allocations: 166.3 kB / 498.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1166, allocations: 8.375 kB / 498.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1166, allocations: 16.36 kB / 498.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.1169, allocations: 127.7 kB / 498.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1169, allocations: 0 / 498.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1169, allocations: 4 kB / 498.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.117, allocations: 4 kB / 498.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.1171, allocations: 59.91 kB / 498.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.1179, allocations: 460.2 kB / 498.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.1181, allocations: 86.48 kB / 498.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/0.1182, allocations: 40.84 kB / 498.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1182, allocations: 0 / 498.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.1183, allocations: 34.56 kB / 498.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.1183, allocations: 4 kB / 498.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000345/0.1186, allocations: 129.6 kB / 499.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1186, allocations: 55.41 kB / 499.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1188, allocations: 176.4 kB / 499.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1189, allocations: 25.7 kB / 499.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.119, allocations: 128.7 kB / 499.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.119, allocations: 31.7 kB / 499.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.1191, allocations: 37.7 kB / 499.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1192, allocations: 330.8 kB / 499.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.1193, allocations: 35.92 kB / 499.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.806e-05/0.1194, allocations: 62.55 kB / 499.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.1196, allocations: 101.8 kB / 0.4883 GB, free: 0.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1196, allocations: 0 / 0.4883 GB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002708/0.1199, allocations: 145.5 kB / 0.4885 GB, free: 488 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1199, allocations: 11.94 kB / 0.4885 GB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1199, allocations: 0 / 0.4885 GB, free: 476 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1199, allocations: 4.062 kB / 0.4885 GB, free: 472 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.1201, allocations: 43.91 kB / 0.4885 GB, free: 428 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1201, allocations: 0 / 0.4885 GB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.1202, allocations: 15.89 kB / 0.4885 GB, free: 412 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1202, allocations: 4 kB / 0.4885 GB, free: 408 kB / 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.0001159/0.1203, allocations: 125.8 kB / 0.4886 GB, free: 272 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.1203, allocations: 15.84 kB / 0.4887 GB, free: 256 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.1204, allocations: 21.39 kB / 0.4887 GB, free: 236 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1204, allocations: 0 / 0.4887 GB, free: 236 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1204, allocations: 4 kB / 0.4887 GB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1204, allocations: 7.984 kB / 0.4887 GB, free: 224 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.1209, allocations: 346.9 kB / 0.489 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1209, allocations: 3.984 kB / 0.489 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.1211, allocations: 39.98 kB / 0.4891 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1211, allocations: 0 / 0.4891 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1211, allocations: 0 / 0.4891 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.1222, allocations: 1.278 MB / 0.4903 GB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1222, allocations: 0 / 0.4903 GB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.1226, allocations: 240.2 kB / 0.4905 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.1226, allocations: 23.91 kB / 0.4906 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1226, allocations: 0 / 0.4906 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.286e-05/0.1227, allocations: 8 kB / 0.4906 GB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.1228, allocations: 12.14 kB / 0.4906 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1228, allocations: 4 kB / 0.4906 GB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1229, allocations: 128.1 kB / 0.4907 GB, free: 13.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1229, allocations: 0 / 0.4907 GB, free: 13.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1232, allocations: 31.95 kB / 0.4907 GB, free: 13.96 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.0001247/0.1233, allocations: 103.2 kB / 0.4908 GB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.1235, allocations: 83.88 kB / 0.4909 GB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1235, allocations: 0 / 0.4909 GB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.1238, allocations: 64.02 kB / 0.491 GB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.1242, allocations: 49.81 kB / 0.491 GB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007709/0.125, allocations: 415.2 kB / 0.4914 GB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.1251, allocations: 104 kB / 0.4915 GB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.1251, allocations: 19.44 kB / 0.4915 GB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1251, allocations: 0 / 0.4915 GB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.004425/0.1295, allocations: 2.128 MB / 0.4936 GB, free: 10.96 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.makefile [Timeout 660] (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 & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.13785083219409] Failed to read output from testmodel.py, exit status != 0: 0.13853631634265184 0.308644622 0.190266234 Calling exit ...