Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.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.001573/0.001573, 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.001815/0.001815, allocations: 194.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.435/1.435, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.008261/0.008261, allocations: 1.342 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.NonInvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 63.89 kB / 431.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1097, allocations: 52.46 MB / 484.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003739/0.1135, allocations: 1.679 MB / 486.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1146, allocations: 0.5377 MB / 486.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1148, allocations: 4 kB / 486.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.1149, allocations: 11.81 kB / 486.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.45e-05/0.115, allocations: 27.78 kB / 486.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1154, allocations: 83.83 kB / 486.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.1156, allocations: 127.6 kB / 486.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1158, allocations: 33.42 kB / 486.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.1159, allocations: 39.8 kB / 486.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.116, allocations: 47.72 kB / 487 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.116, allocations: 4 kB / 487 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.116, allocations: 8 kB / 487 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.116, allocations: 15.94 kB / 487 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.1161, allocations: 51.72 kB / 487.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1163, allocations: 103.5 kB / 487.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1163, allocations: 0 / 487.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1163, allocations: 0 / 487.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1163, allocations: 0 / 487.2 MB, free: 11.59 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.0007512/0.1171, allocations: 426.8 kB / 487.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.1171, allocations: 15.89 kB / 487.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.1172, allocations: 8.891 kB / 487.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.1175, allocations: 202.8 kB / 487.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1175, allocations: 8.375 kB / 487.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.1175, allocations: 16.12 kB / 487.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.1177, allocations: 87.39 kB / 487.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1178, allocations: 4 kB / 487.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1178, allocations: 4 kB / 487.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1178, allocations: 0 / 487.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1179, allocations: 44.47 kB / 488 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.1187, allocations: 464.7 kB / 488.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1189, allocations: 54.59 kB / 488.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.119, allocations: 21.02 kB / 488.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.119, allocations: 0 / 488.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.119, allocations: 46.44 kB / 488.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.119, allocations: 0 / 488.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.00025/0.1193, allocations: 81.53 kB / 488.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1193, allocations: 55.34 kB / 488.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.1195, allocations: 159.1 kB / 488.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1196, allocations: 29.7 kB / 488.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.1196, allocations: 112.1 kB / 489 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.1197, allocations: 23.8 kB / 489 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.1197, allocations: 29.7 kB / 489 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1199, allocations: 322.8 kB / 489.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.12, allocations: 16 kB / 489.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.12, allocations: 62 kB / 489.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1202, allocations: 93.88 kB / 489.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.1202, allocations: 4 kB / 489.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002136/0.1204, allocations: 109.5 kB / 489.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1204, allocations: 7.938 kB / 489.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1204, allocations: 4 kB / 489.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1205, allocations: 0 / 489.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1206, allocations: 31.92 kB / 489.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.1206, allocations: 4 kB / 489.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.1207, allocations: 16.05 kB / 489.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1207, allocations: 8 kB / 489.7 MB, free: 8.801 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.000117/0.1208, allocations: 121.7 kB / 489.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.1208, allocations: 15.84 kB / 489.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.1209, allocations: 16.34 kB / 489.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1209, allocations: 3.984 kB / 489.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1209, allocations: 0 / 489.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1209, allocations: 0 / 489.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.1213, allocations: 351.3 kB / 490.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1213, allocations: 0 / 490.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.1215, allocations: 24.3 kB / 490.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1215, allocations: 0 / 490.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1215, allocations: 4 kB / 490.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1215, allocations: 4 kB / 490.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1215, allocations: 0 / 490.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1217, allocations: 184.3 kB / 490.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.093e-05/0.1218, allocations: 101 kB / 490.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1218, allocations: 4 kB / 490.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.1219, allocations: 0 / 490.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.1219, allocations: 0 / 490.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1219, allocations: 4 kB / 490.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.85e-05/0.122, allocations: 115.2 kB / 490.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.122, allocations: 0 / 490.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1223, allocations: 20 kB / 490.6 MB, free: 7.746 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001056/0.1224, allocations: 103.2 kB / 490.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.1225, allocations: 51.84 kB / 490.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1225, allocations: 0 / 490.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.1226, allocations: 15.94 kB / 490.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.123, allocations: 41.28 kB / 490.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.1237, allocations: 302.5 kB / 491.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.124, allocations: 0.708 MB / 491.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.573e-05/0.1241, allocations: 8.547 kB / 491.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.1242, allocations: 11.44 kB / 491.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1242, allocations: 0 / 491.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of Templates: time 0.00471/0.1289, allocations: 1.143 MB / 493 MB, free: 5.367 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD -l=1 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.481791485100985] Failed to read output from testmodel.py, exit status != 0: 0.13786113820970058 0.15330226700000002 0.033912898000000004 Calling exit ...