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.001558/0.001558, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001643/0.001643, allocations: 215.8 kB / 23.01 MB, free: 4.609 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.008127/0.008127, allocations: 1.333 MB / 314.5 MB, free: 1.902 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: 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.001971/0.001971, allocations: 63.91 kB / 440.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1192, allocations: 53.68 MB / 494.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.00443/0.1237, allocations: 1.983 MB / 496.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1251, allocations: 0.6155 MB / 497 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.1253, allocations: 0 / 497 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1255, allocations: 23.73 kB / 497 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.1257, allocations: 47.64 kB / 497 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.126, allocations: 95.81 kB / 497.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.1264, allocations: 179.4 kB / 497.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1266, allocations: 57.61 kB / 497.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1267, allocations: 67.7 kB / 497.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.1269, allocations: 63.64 kB / 497.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.127, allocations: 8 kB / 497.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.029e-05/0.127, allocations: 12 kB / 497.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.127, allocations: 35.86 kB / 497.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.247e-05/0.1271, allocations: 67.55 kB / 497.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1274, allocations: 159.3 kB / 497.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1274, allocations: 0 / 497.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1274, allocations: 0 / 497.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1274, allocations: 0 / 497.8 MB, free: 3.43 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.0008/0.1282, allocations: 397.4 kB / 498.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1283, allocations: 12.03 kB / 498.2 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.1283, allocations: 24.78 kB / 498.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.1287, allocations: 158.3 kB / 498.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.1287, allocations: 16.38 kB / 498.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.1288, allocations: 12.38 kB / 498.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.1291, allocations: 127.6 kB / 498.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1291, allocations: 0 / 498.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.1291, allocations: 8 kB / 498.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1291, allocations: 3.984 kB / 498.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.1293, allocations: 67.89 kB / 498.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009486/0.1302, allocations: 0.4996 MB / 499.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.1305, allocations: 94.47 kB / 499.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.1306, allocations: 40.84 kB / 499.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1306, allocations: 4 kB / 499.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1306, allocations: 38.48 kB / 499.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1306, allocations: 0 / 499.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003563/0.131, allocations: 122 kB / 499.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.131, allocations: 55.41 kB / 499.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1312, allocations: 187.2 kB / 499.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1313, allocations: 29.8 kB / 499.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.1313, allocations: 128.3 kB / 499.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.1314, allocations: 35.69 kB / 499.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.1315, allocations: 37.7 kB / 499.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1316, allocations: 322.8 kB / 0.4884 GB, free: 0.8633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.27e-05/0.1317, allocations: 35.98 kB / 0.4884 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1318, allocations: 65.52 kB / 0.4885 GB, free: 0.7578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.132, allocations: 93.88 kB / 0.4886 GB, free: 0.6602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.132, allocations: 0 / 0.4886 GB, free: 0.6602 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003015/0.1323, allocations: 149.4 kB / 0.4887 GB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1324, allocations: 7.984 kB / 0.4887 GB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1324, allocations: 4.062 kB / 0.4888 GB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.1324, allocations: 4 kB / 0.4888 GB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.1326, allocations: 39.92 kB / 0.4888 GB, free: 464 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1326, allocations: 4 kB / 0.4888 GB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.1327, allocations: 11.89 kB / 0.4888 GB, free: 448 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1327, allocations: 7.938 kB / 0.4888 GB, free: 440 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.0001275/0.1328, allocations: 125.8 kB / 0.4889 GB, free: 304 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.1329, allocations: 19.84 kB / 0.489 GB, free: 284 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.1329, allocations: 21.41 kB / 0.489 GB, free: 264 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1329, allocations: 3.938 kB / 0.489 GB, free: 260 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1329, allocations: 0 / 0.489 GB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.133, allocations: 0 / 0.489 GB, free: 260 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.1335, allocations: 390.4 kB / 0.4894 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1335, allocations: 0 / 0.4894 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.1338, allocations: 35.92 kB / 0.4894 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1338, allocations: 0 / 0.4894 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1338, allocations: 8.031 kB / 0.4894 GB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.1351, allocations: 1.309 MB / 0.4907 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1351, allocations: 0 / 0.4907 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.1355, allocations: 236.2 kB / 0.4909 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.1355, allocations: 28.02 kB / 0.4909 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1355, allocations: 11.94 kB / 0.4909 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.329e-05/0.1356, allocations: 4 kB / 0.4909 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.1357, allocations: 3.984 kB / 0.4909 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.1357, allocations: 4 kB / 0.4909 GB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1358, allocations: 131.2 kB / 0.4911 GB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1358, allocations: 96 / 0.4911 GB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.1361, allocations: 31.94 kB / 0.4911 GB, free: 13.89 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.0001408/0.1363, allocations: 100.9 kB / 0.4912 GB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.1365, allocations: 87.8 kB / 0.4913 GB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1365, allocations: 4 kB / 0.4913 GB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.1368, allocations: 47.97 kB / 0.4913 GB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.1372, allocations: 46.27 kB / 0.4914 GB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008766/0.1381, allocations: 419.2 kB / 0.4918 GB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.1385, allocations: 0.7201 MB / 0.4925 GB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.1386, allocations: 15.44 kB / 0.4925 GB, free: 12.4 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1386, allocations: 0 / 0.4925 GB, free: 12.4 MB / 366.1 MB Notification: Performance of Templates: time 0.004821/0.1434, allocations: 2.092 MB / 0.4945 GB, free: 10.32 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 -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.247765675885603] Failed to read output from testmodel.py, exit status != 0: 0.15245571010746062 0.36483919800000003 0.23386884400000002 Calling exit ...