Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.001679/0.001679, allocations: 110.2 kB / 19.69 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.002049/0.002049, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.008505/0.008505, allocations: 1.343 MB / 314.5 MB, free: 1.969 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.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.002019/0.002019, allocations: 67.89 kB / 440.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 53.68 MB / 494.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.002978/0.1117, allocations: 1.697 MB / 496 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1128, allocations: 0.5922 MB / 496.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.1129, allocations: 0 / 496.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.113, allocations: 19.8 kB / 496.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.1131, allocations: 23.73 kB / 496.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1133, allocations: 87.88 kB / 496.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1135, allocations: 123.5 kB / 496.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1136, allocations: 37.23 kB / 496.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.846e-05/0.1137, allocations: 51.7 kB / 497 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.78e-05/0.1138, allocations: 43.78 kB / 497 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1138, allocations: 8 kB / 497 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.772e-05/0.1139, allocations: 12 kB / 497 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.1139, allocations: 19.88 kB / 497 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.1139, allocations: 51.73 kB / 497.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1141, allocations: 111.5 kB / 497.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1141, allocations: 0 / 497.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1141, allocations: 0 / 497.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1141, allocations: 4 kB / 497.2 MB, free: 3.977 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005585/0.1147, allocations: 345.7 kB / 497.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1147, allocations: 12.03 kB / 497.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.1148, allocations: 20.84 kB / 497.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.115, allocations: 155.8 kB / 497.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.115, allocations: 8.375 kB / 497.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.115, allocations: 8.375 kB / 497.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.1152, allocations: 108.5 kB / 497.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1152, allocations: 0 / 497.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1152, allocations: 0 / 497.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1153, allocations: 4 kB / 497.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.1153, allocations: 35.92 kB / 497.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.1161, allocations: 0.5155 MB / 498.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1162, allocations: 54.44 kB / 498.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.1162, allocations: 16.89 kB / 498.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1162, allocations: 4 kB / 498.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1162, allocations: 38.59 kB / 498.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1162, allocations: 0 / 498.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001913/0.1164, allocations: 69.58 kB / 498.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.1165, allocations: 51.41 kB / 498.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1167, allocations: 192.1 kB / 498.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1167, allocations: 25.7 kB / 498.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.1168, allocations: 116 kB / 499 MB, free: 2.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1168, allocations: 19.84 kB / 499 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.1168, allocations: 37.64 kB / 499 MB, free: 1.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.117, allocations: 322.8 kB / 499.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.117, allocations: 23.98 kB / 499.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.1171, allocations: 54.38 kB / 499.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.1172, allocations: 75.38 kB / 499.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1172, allocations: 0 / 499.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001749/0.1174, allocations: 121.5 kB / 499.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1174, allocations: 4 kB / 499.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1174, allocations: 3.938 kB / 499.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1174, allocations: 4 kB / 499.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.1176, allocations: 35.92 kB / 499.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1176, allocations: 0 / 499.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.1176, allocations: 11.98 kB / 499.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1176, allocations: 8 kB / 499.7 MB, free: 1.293 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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 9.395e-05/0.1177, allocations: 117.8 kB / 499.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.1178, allocations: 11.91 kB / 499.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.1178, allocations: 20.95 kB / 499.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.1178, allocations: 0 / 499.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1178, allocations: 0 / 499.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1178, allocations: 192 / 499.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.1182, allocations: 330.4 kB / 0.4884 GB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1182, allocations: 0 / 0.4884 GB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1184, allocations: 19.98 kB / 0.4884 GB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1184, allocations: 0 / 0.4884 GB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.1184, allocations: 4 kB / 0.4884 GB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.1195, allocations: 1.301 MB / 0.4897 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1195, allocations: 3.938 kB / 0.4897 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.1196, allocations: 184.4 kB / 0.4899 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.1197, allocations: 19.92 kB / 0.4899 GB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.1197, allocations: 0 / 0.4899 GB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.1198, allocations: 0 / 0.4899 GB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.1198, allocations: 7.938 kB / 0.4899 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.1198, allocations: 0 / 0.4899 GB, free: 15.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1199, allocations: 139.5 kB / 0.49 GB, free: 14.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1199, allocations: 64 / 0.49 GB, free: 14.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1202, allocations: 31.94 kB / 0.4901 GB, free: 14.92 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 (4): * Single equations (assignments): 3 * 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.000101/0.1203, allocations: 99.19 kB / 0.4902 GB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1204, allocations: 55.86 kB / 0.4902 GB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1204, allocations: 3.938 kB / 0.4902 GB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.1206, allocations: 36.22 kB / 0.4903 GB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.121, allocations: 46.53 kB / 0.4903 GB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/0.1216, allocations: 321.7 kB / 0.4906 GB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.122, allocations: 0.704 MB / 0.4913 GB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.122, allocations: 15.44 kB / 0.4913 GB, free: 13.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.122, allocations: 0 / 0.4913 GB, free: 13.59 MB / 366.1 MB Notification: Performance of Templates: time 0.003654/0.1257, allocations: 1.641 MB / 0.4929 GB, free: 11.95 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.307471128180623] Failed to read output from testmodel.py, exit status != 0: 0.13317215302959085 0.374322325 0.256177838 Calling exit ...