Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_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.001306/0.001306, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001333/0.001333, allocations: 202.9 kB / 22.17 MB, free: 5.211 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.482/1.482, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.008156/0.008156, allocations: 1.344 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_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 67.88 kB / 431.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1099, allocations: 52.45 MB / 483.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD): time 0.002929/0.1128, allocations: 1.676 MB / 485.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000973/0.1138, allocations: 0.5261 MB / 485.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.1139, allocations: 0 / 485.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.114, allocations: 19.8 kB / 485.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.1141, allocations: 23.78 kB / 485.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1143, allocations: 83.83 kB / 485.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1145, allocations: 131.6 kB / 486 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1147, allocations: 33.28 kB / 486.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.752e-05/0.1147, allocations: 35.8 kB / 486.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.1148, allocations: 35.78 kB / 486.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1148, allocations: 8 kB / 486.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.1148, allocations: 8 kB / 486.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.1149, allocations: 15.92 kB / 486.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.1149, allocations: 51.67 kB / 486.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1151, allocations: 91.56 kB / 486.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1151, allocations: 0 / 486.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1151, allocations: 4 kB / 486.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1151, allocations: 0 / 486.3 MB, free: 12.4 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.0005664/0.1156, allocations: 406.9 kB / 486.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1157, allocations: 15.89 kB / 486.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.1157, allocations: 12.84 kB / 486.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1159, allocations: 198.8 kB / 486.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.116, allocations: 8.375 kB / 487 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.116, allocations: 12.12 kB / 487 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1162, allocations: 100.7 kB / 487.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1162, allocations: 0 / 487.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1162, allocations: 4 kB / 487.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1162, allocations: 0 / 487.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.1163, allocations: 31.92 kB / 487.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.1169, allocations: 0.5243 MB / 487.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.1171, allocations: 26.58 kB / 487.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.1171, allocations: 20.94 kB / 487.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.1171, allocations: 3.938 kB / 487.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1171, allocations: 34.5 kB / 487.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1171, allocations: 4 kB / 487.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001763/0.1173, allocations: 65.72 kB / 487.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.1174, allocations: 55.41 kB / 487.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1175, allocations: 158.9 kB / 488 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1175, allocations: 29.64 kB / 488 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1176, allocations: 123.9 kB / 488.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.1177, allocations: 15.84 kB / 488.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.1177, allocations: 33.7 kB / 488.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1179, allocations: 326.8 kB / 488.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.969e-05/0.1179, allocations: 24.86 kB / 488.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-05/0.118, allocations: 83.17 kB / 488.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1182, allocations: 107.6 kB / 488.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1182, allocations: 0 / 488.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002041/0.1184, allocations: 133.4 kB / 488.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1184, allocations: 11.94 kB / 488.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1184, allocations: 0 / 488.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1184, allocations: 4 kB / 488.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1185, allocations: 36.05 kB / 488.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1186, allocations: 3.938 kB / 488.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.708e-05/0.1186, allocations: 20.06 kB / 488.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1186, allocations: 8 kB / 488.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.739e-05/0.1187, allocations: 112.1 kB / 489 MB, free: 9.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.673e-05/0.1188, allocations: 75.72 kB / 489.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001311/0.119, allocations: 103.6 kB / 489.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.119, allocations: 0 / 489.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002058/0.1192, allocations: 133.4 kB / 489.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.1192, allocations: 4 kB / 489.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1192, allocations: 7.938 kB / 489.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-06/0.1192, allocations: 0 / 489.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.1193, allocations: 31.92 kB / 489.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1193, allocations: 4 kB / 489.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.1193, allocations: 15.89 kB / 489.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1193, allocations: 4 kB / 489.4 MB, free: 8.961 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.0001202/0.1195, allocations: 200.3 kB / 489.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.1195, allocations: 11.89 kB / 489.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.1195, allocations: 8.938 kB / 489.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1195, allocations: 4 kB / 489.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1195, allocations: 0 / 489.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.1195, allocations: 3.938 kB / 489.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.1199, allocations: 323.3 kB / 489.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1199, allocations: 4 kB / 490 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.12, allocations: 12 kB / 490 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.12, allocations: 0 / 490 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.12, allocations: 4 kB / 490 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.12, allocations: 0 / 490 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.12, allocations: 3.984 kB / 490 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.1202, allocations: 172.3 kB / 490.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.1202, allocations: 93.16 kB / 490.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1202, allocations: 0 / 490.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.1203, allocations: 11.94 kB / 490.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.1203, allocations: 4.125 kB / 490.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.1203, allocations: 3.984 kB / 490.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1204, allocations: 129 kB / 490.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1204, allocations: 0 / 490.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003721/0.1208, allocations: 39.89 kB / 490.4 MB, free: 7.848 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.0001047/0.1209, allocations: 103.2 kB / 490.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.1211, allocations: 95.78 kB / 490.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1211, allocations: 0 / 490.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.1212, allocations: 11.92 kB / 490.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1216, allocations: 37.73 kB / 490.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.1221, allocations: 279.3 kB / 490.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.1225, allocations: 0.7046 MB / 491.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.1226, allocations: 20.8 kB / 491.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.1226, allocations: 11.44 kB / 491.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1226, allocations: 7.938 kB / 491.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of Templates: time 0.003959/0.1266, allocations: 1.1 MB / 492.8 MB, free: 5.465 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_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_OFF_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.43541020527482] Failed to read output from testmodel.py, exit status != 0: 0.1351193292066455 0.148943345 0.030894448 Calling exit ...