Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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.001935/0.001935, 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.00268/0.00268, allocations: 192.2 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.469/1.469, 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.01294/0.01294, allocations: 1.346 MB / 307.5 MB, free: 7.523 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.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003133/0.003133, allocations: 63.89 kB / 431.1 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.11, allocations: 52.46 MB / 483.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003321/0.1133, allocations: 1.66 MB / 485.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1145, allocations: 0.5261 MB / 485.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.258e-05/0.1146, allocations: 4 kB / 485.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.1147, allocations: 11.86 kB / 485.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.1148, allocations: 27.78 kB / 485.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.1151, allocations: 87.83 kB / 485.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.1153, allocations: 115.6 kB / 486 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1154, allocations: 25.28 kB / 486 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.011e-05/0.1155, allocations: 43.8 kB / 486.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.1156, allocations: 35.78 kB / 486.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1156, allocations: 8 kB / 486.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.1156, allocations: 4 kB / 486.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.1156, allocations: 23.91 kB / 486.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.1157, allocations: 39.75 kB / 486.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1159, allocations: 91.5 kB / 486.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1159, allocations: 7.938 kB / 486.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1159, allocations: 4 kB / 486.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1159, allocations: 0 / 486.3 MB, free: 12.46 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005324/0.1164, allocations: 411 kB / 486.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1164, allocations: 11.89 kB / 486.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.1165, allocations: 16.84 kB / 486.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1167, allocations: 208.7 kB / 486.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1167, allocations: 384 / 486.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.1168, allocations: 16.12 kB / 486.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.117, allocations: 93.09 kB / 487 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.117, allocations: 0 / 487 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.117, allocations: 4 kB / 487 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.117, allocations: 4 kB / 487 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.1171, allocations: 35.86 kB / 487.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.1178, allocations: 0.5165 MB / 487.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1179, allocations: 34.58 kB / 487.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.1179, allocations: 16.88 kB / 487.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.1179, allocations: 0 / 487.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.118, allocations: 46.5 kB / 487.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.118, allocations: 0 / 487.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001846/0.1181, allocations: 57.59 kB / 487.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.1182, allocations: 51.41 kB / 487.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1184, allocations: 170.4 kB / 488 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1184, allocations: 25.7 kB / 488 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.1185, allocations: 115.9 kB / 488.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.1185, allocations: 15.84 kB / 488.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.1185, allocations: 37.7 kB / 488.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1187, allocations: 322.8 kB / 488.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.1187, allocations: 19.94 kB / 488.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.1188, allocations: 83.38 kB / 488.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.119, allocations: 99.59 kB / 488.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.119, allocations: 4 kB / 488.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002084/0.1192, allocations: 129.4 kB / 488.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.1192, allocations: 11.94 kB / 488.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1192, allocations: 4.062 kB / 488.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1192, allocations: 7.938 kB / 488.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1194, allocations: 35.92 kB / 488.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1194, allocations: 0 / 488.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.1194, allocations: 19.84 kB / 488.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1194, allocations: 8.219 kB / 488.9 MB, free: 9.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 16 * 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.0001018/0.1195, allocations: 129.7 kB / 489 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.1196, allocations: 11.89 kB / 489 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.1196, allocations: 12.94 kB / 489 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1196, allocations: 240 / 489 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1196, allocations: 0 / 489 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1196, allocations: 3.984 kB / 489 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.12, allocations: 331.3 kB / 489.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.12, allocations: 0 / 489.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.1201, allocations: 8 kB / 489.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1201, allocations: 0 / 489.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1201, allocations: 0 / 489.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.1201, allocations: 7.984 kB / 489.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1201, allocations: 0 / 489.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.1203, allocations: 172.3 kB / 489.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.1203, allocations: 89.03 kB / 489.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.1203, allocations: 0 / 489.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.1204, allocations: 7.984 kB / 489.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.1204, allocations: 7.938 kB / 489.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1204, allocations: 0 / 489.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1205, allocations: 128.8 kB / 489.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1205, allocations: 0 / 489.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1208, allocations: 23.94 kB / 489.8 MB, free: 8.559 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 (3): * Single equations (assignments): 3 * 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.0001323/0.121, allocations: 99.31 kB / 489.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.1211, allocations: 51.86 kB / 489.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1211, allocations: 0 / 489.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.1211, allocations: 11.98 kB / 489.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.1216, allocations: 44.38 kB / 490 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.1221, allocations: 283.9 kB / 490.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1225, allocations: 0.7041 MB / 491 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.1226, allocations: 12.86 kB / 491 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.1226, allocations: 11.44 kB / 491 MB, free: 7.281 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1226, allocations: 7.938 kB / 491 MB, free: 7.273 MB / 350.1 MB Notification: Performance of Templates: time 0.003928/0.1265, allocations: 1.055 MB / 492.1 MB, free: 6.266 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.514890945982188] Failed to read output from testmodel.py, exit status != 0: 0.13503736490383744 0.149444133 0.030385194 Calling exit ...