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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 191.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.01731/0.01731, allocations: 1.341 MB / 307.5 MB, free: 7.516 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.89 kB / 431.1 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1074, allocations: 52.45 MB / 483.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.00305/0.1105, allocations: 1.689 MB / 485.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1115, allocations: 0.5455 MB / 485.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.1116, allocations: 0 / 485.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.1117, allocations: 19.8 kB / 485.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/0.1118, allocations: 39.66 kB / 485.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.112, allocations: 83.83 kB / 486 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1122, allocations: 119.5 kB / 486.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1124, allocations: 49 kB / 486.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.1124, allocations: 39.8 kB / 486.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1125, allocations: 43.78 kB / 486.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1126, allocations: 8 kB / 486.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.1126, allocations: 12 kB / 486.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.1126, allocations: 15.92 kB / 486.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.1127, allocations: 55.62 kB / 486.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1129, allocations: 119.5 kB / 486.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1129, allocations: 3.984 kB / 486.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1129, allocations: 0 / 486.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1129, allocations: 0 / 486.4 MB, free: 12.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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005881/0.1135, allocations: 426.9 kB / 486.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1135, allocations: 11.89 kB / 486.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.1136, allocations: 24.77 kB / 486.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1138, allocations: 207.8 kB / 487.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1138, allocations: 12.38 kB / 487.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1139, allocations: 8.375 kB / 487.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1141, allocations: 107.8 kB / 487.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1141, allocations: 0 / 487.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1141, allocations: 4 kB / 487.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1141, allocations: 0 / 487.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.994e-05/0.1142, allocations: 35.97 kB / 487.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.115, allocations: 0.5515 MB / 487.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1151, allocations: 46.58 kB / 487.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.1151, allocations: 24.92 kB / 487.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.1152, allocations: 0 / 487.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1152, allocations: 30.56 kB / 487.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1152, allocations: 0 / 487.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002671/0.1154, allocations: 85.64 kB / 488 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1155, allocations: 51.41 kB / 488 MB, free: 10.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.1157, allocations: 179.2 kB / 488.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1157, allocations: 25.7 kB / 488.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1159, allocations: 124.1 kB / 488.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.1159, allocations: 15.89 kB / 488.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.1159, allocations: 29.72 kB / 488.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1161, allocations: 326.8 kB / 488.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.842e-05/0.1162, allocations: 23.92 kB / 488.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/0.1162, allocations: 55.36 kB / 488.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1164, allocations: 75.38 kB / 488.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1164, allocations: 3.938 kB / 488.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001912/0.1166, allocations: 117.5 kB / 489 MB, free: 9.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1166, allocations: 8 kB / 489 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1166, allocations: 3.938 kB / 489 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.1166, allocations: 4 kB / 489 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1168, allocations: 28.08 kB / 489 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.1168, allocations: 4 kB / 489 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.884e-05/0.1168, allocations: 15.84 kB / 489 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1168, allocations: 11.94 kB / 489 MB, free: 9.43 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 0.0001287/0.117, allocations: 121.7 kB / 489.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.117, allocations: 11.94 kB / 489.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.117, allocations: 16.88 kB / 489.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.117, allocations: 0 / 489.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1171, allocations: 4 kB / 489.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1171, allocations: 0 / 489.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.1175, allocations: 355.3 kB / 489.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1175, allocations: 0 / 489.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.1177, allocations: 23.98 kB / 489.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1177, allocations: 0 / 489.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1177, allocations: 0 / 489.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.1189, allocations: 1.397 MB / 491 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1189, allocations: 8 kB / 491 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.1191, allocations: 176.3 kB / 491.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.1192, allocations: 93.08 kB / 491.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1192, allocations: 4 kB / 491.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.1193, allocations: 0 / 491.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.1193, allocations: 7.875 kB / 491.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1193, allocations: 12.05 kB / 491.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1194, allocations: 128.3 kB / 491.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1194, allocations: 0 / 491.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1197, allocations: 23.95 kB / 491.4 MB, free: 6.816 MB / 350.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.0001274/0.1198, allocations: 99.34 kB / 491.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1199, allocations: 51.91 kB / 491.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1199, allocations: 192 / 491.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1201, allocations: 31.97 kB / 491.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.1205, allocations: 33.36 kB / 491.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.1211, allocations: 310.9 kB / 491.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1215, allocations: 0.7079 MB / 492.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.1215, allocations: 16.95 kB / 492.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.1216, allocations: 15.44 kB / 492.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1216, allocations: 0 / 492.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of Templates: time 0.004246/0.1258, allocations: 1.264 MB / 493.9 MB, free: 4.281 MB / 350.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 -s cvode -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4723741239868104] Failed to read output from testmodel.py, exit status != 0: 0.13315609516575933 0.14813014999999996 0.032214243000000004 Calling exit ...