Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_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.001692/0.001692, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001836/0.001836, allocations: 220.8 kB / 22.99 MB, free: 4.914 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.008176/0.008176, allocations: 1.348 MB / 314.5 MB, free: 1.68 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.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_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.002088/0.002088, allocations: 63.89 kB / 440.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09278, allocations: 53.68 MB / 494.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003431/0.09621, allocations: 1.751 MB / 496 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.09738, allocations: 0.5494 MB / 496.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.09748, allocations: 4 kB / 496.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.09763, allocations: 19.8 kB / 496.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.09774, allocations: 35.72 kB / 496.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.09803, allocations: 87.83 kB / 496.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.0983, allocations: 167.4 kB / 496.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.09844, allocations: 37.59 kB / 496.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.09855, allocations: 59.72 kB / 497 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.09865, allocations: 47.72 kB / 497 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.09867, allocations: 8 kB / 497 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.52e-05/0.0987, allocations: 12 kB / 497 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.09873, allocations: 27.91 kB / 497.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.0988, allocations: 47.73 kB / 497.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.09901, allocations: 135.4 kB / 497.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.09901, allocations: 0 / 497.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09901, allocations: 0 / 497.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.09902, allocations: 0 / 497.2 MB, free: 3.672 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006816/0.0997, allocations: 377.5 kB / 497.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.09974, allocations: 8.031 kB / 497.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.09979, allocations: 16.84 kB / 497.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1, allocations: 155 kB / 497.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1, allocations: 8.375 kB / 497.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.1001, allocations: 16.38 kB / 497.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.1004, allocations: 119.6 kB / 497.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1004, allocations: 0 / 497.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1004, allocations: 11.94 kB / 497.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1004, allocations: 0 / 497.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.1006, allocations: 63.95 kB / 498 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007765/0.1014, allocations: 420.3 kB / 498.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1016, allocations: 70.48 kB / 498.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1017, allocations: 36.95 kB / 498.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1018, allocations: 3.984 kB / 498.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1018, allocations: 34.56 kB / 498.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1018, allocations: 0 / 498.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004483/0.1022, allocations: 133.5 kB / 498.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.1023, allocations: 55.34 kB / 498.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1025, allocations: 166.8 kB / 498.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1025, allocations: 25.7 kB / 498.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.1026, allocations: 123.9 kB / 499 MB, free: 1.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.1026, allocations: 19.8 kB / 499.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.1027, allocations: 41.66 kB / 499.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1028, allocations: 318.8 kB / 499.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1029, allocations: 35.98 kB / 499.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.1031, allocations: 54.55 kB / 499.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.1033, allocations: 90.47 kB / 499.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1033, allocations: 7.938 kB / 499.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003096/0.1036, allocations: 133.8 kB / 499.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1036, allocations: 4 kB / 499.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1037, allocations: 7.938 kB / 499.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1037, allocations: 3.938 kB / 499.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.1038, allocations: 31.98 kB / 499.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1038, allocations: 0 / 499.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-05/0.1039, allocations: 23.88 kB / 499.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1039, allocations: 0 / 499.8 MB, free: 0.9062 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 (13): * Single equations (assignments): 13 * 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.0001033/0.104, allocations: 125.8 kB / 499.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1041, allocations: 11.98 kB / 499.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.1041, allocations: 17.39 kB / 500 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1041, allocations: 3.938 kB / 500 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1041, allocations: 0 / 500 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1041, allocations: 0 / 500 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.1047, allocations: 331 kB / 0.4886 GB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1047, allocations: 0 / 0.4886 GB, free: 388 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.1049, allocations: 36 kB / 0.4886 GB, free: 352 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1049, allocations: 7.875 kB / 0.4886 GB, free: 344 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1049, allocations: 0 / 0.4886 GB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.1061, allocations: 1.274 MB / 0.4898 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1061, allocations: 0 / 0.4898 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.1065, allocations: 244.4 kB / 0.4901 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.1066, allocations: 12.11 kB / 0.4901 GB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1066, allocations: 4 kB / 0.4901 GB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1067, allocations: 11.98 kB / 0.4901 GB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.1067, allocations: 11.92 kB / 0.4901 GB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1067, allocations: 4 kB / 0.4901 GB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1069, allocations: 119.2 kB / 0.4902 GB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1069, allocations: 0 / 0.4902 GB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1071, allocations: 35.89 kB / 0.4903 GB, free: 14.51 MB / 366.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 (6): * Single equations (assignments): 5 * 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.0001145/0.1072, allocations: 99.25 kB / 0.4904 GB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.1075, allocations: 79.88 kB / 0.4904 GB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1075, allocations: 0 / 0.4904 GB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.1078, allocations: 48.16 kB / 0.4905 GB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1082, allocations: 42.2 kB / 0.4905 GB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006816/0.1089, allocations: 354.5 kB / 0.4909 GB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.798e-05/0.109, allocations: 101.3 kB / 0.491 GB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.1091, allocations: 15.44 kB / 0.491 GB, free: 13.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1091, allocations: 3.938 kB / 0.491 GB, free: 13.72 MB / 366.1 MB Notification: Performance of Templates: time 0.00408/0.1131, allocations: 1.88 MB / 0.4928 GB, free: 11.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_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.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.111086068674922] Failed to read output from testmodel.py, exit status != 0: 0.12112611997872591 0.28597841700000004 0.183690083 Calling exit ...