Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.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.001424/0.001424, 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.001512/0.001512, allocations: 191.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.427/1.427, 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.00784/0.00784, allocations: 1.343 MB / 307.5 MB, free: 7.527 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.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00303/0.00303, allocations: 67.89 kB / 431.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1156, allocations: 52.45 MB / 484.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003144/0.1187, allocations: 1.724 MB / 486.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1198, allocations: 0.5417 MB / 486.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.1199, allocations: 4 kB / 486.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.12, allocations: 19.73 kB / 486.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.1201, allocations: 27.78 kB / 486.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.1204, allocations: 87.83 kB / 486.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1206, allocations: 151.5 kB / 486.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.1208, allocations: 45.72 kB / 487 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.1209, allocations: 47.8 kB / 487 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.121, allocations: 55.66 kB / 487.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.121, allocations: 8 kB / 487.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.054e-05/0.121, allocations: 12 kB / 487.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.1211, allocations: 15.92 kB / 487.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.1211, allocations: 59.66 kB / 487.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.1213, allocations: 123.5 kB / 487.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1213, allocations: 0 / 487.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1213, allocations: 0 / 487.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1214, allocations: 4 kB / 487.3 MB, free: 11.45 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006655/0.122, allocations: 434.8 kB / 487.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1221, allocations: 11.89 kB / 487.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.1221, allocations: 20.83 kB / 487.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.1224, allocations: 205 kB / 488 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1224, allocations: 4.375 kB / 488 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.1224, allocations: 12.38 kB / 488 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1226, allocations: 111.7 kB / 488.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1226, allocations: 0 / 488.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1226, allocations: 4 kB / 488.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1226, allocations: 0 / 488.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1228, allocations: 51.86 kB / 488.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008121/0.1236, allocations: 496.6 kB / 488.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.1237, allocations: 62.5 kB / 488.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.1238, allocations: 20.97 kB / 488.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.1238, allocations: 4 kB / 488.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1238, allocations: 30.56 kB / 488.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1238, allocations: 7.938 kB / 488.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002705/0.1241, allocations: 93.53 kB / 488.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1241, allocations: 51.41 kB / 488.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1243, allocations: 169.9 kB / 489 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1243, allocations: 25.7 kB / 489.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.1244, allocations: 116 kB / 489.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.1244, allocations: 19.86 kB / 489.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.1245, allocations: 33.66 kB / 489.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1246, allocations: 322.8 kB / 489.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.342e-05/0.1247, allocations: 20 kB / 489.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.1248, allocations: 51.36 kB / 489.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1249, allocations: 75.36 kB / 489.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1249, allocations: 0 / 489.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000165/0.125, allocations: 101.6 kB / 489.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1251, allocations: 4 kB / 489.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1251, allocations: 3.938 kB / 489.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1251, allocations: 4 kB / 489.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.1254, allocations: 40.16 kB / 489.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.1265, allocations: 1.405 MB / 491.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.1266, allocations: 11.92 kB / 491.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1266, allocations: 4.094 kB / 491.3 MB, free: 7.082 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.0001087/0.1267, allocations: 133.3 kB / 491.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.1268, allocations: 11.91 kB / 491.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.1268, allocations: 21.39 kB / 491.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1268, allocations: 3.984 kB / 491.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1268, allocations: 3.938 kB / 491.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1268, allocations: 0 / 491.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.1273, allocations: 379.3 kB / 491.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1273, allocations: 0 / 491.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.1275, allocations: 31.98 kB / 491.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1275, allocations: 0 / 491.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1275, allocations: 3.984 kB / 491.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.1285, allocations: 1.4 MB / 493.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1285, allocations: 4.219 kB / 493.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.1287, allocations: 204.3 kB / 493.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.1288, allocations: 93.03 kB / 493.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1288, allocations: 4 kB / 493.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.1289, allocations: 4 kB / 493.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.1289, allocations: 7.984 kB / 493.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1289, allocations: 4.062 kB / 493.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.364e-05/0.129, allocations: 120 kB / 493.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.129, allocations: 0 / 493.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1293, allocations: 24 kB / 493.7 MB, free: 4.402 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 (6): * Single equations (assignments): 5 * 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.0001061/0.1294, allocations: 95.25 kB / 493.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.1296, allocations: 63.84 kB / 493.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1296, allocations: 192 / 493.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1298, allocations: 35.98 kB / 493.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.1302, allocations: 48.77 kB / 493.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006922/0.1309, allocations: 311.5 kB / 494.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.1313, allocations: 0.7041 MB / 494.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.333e-05/0.1313, allocations: 20.67 kB / 495 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.1314, allocations: 11.44 kB / 495 MB, free: 3.066 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1314, allocations: 0 / 495 MB, free: 3.066 MB / 350.1 MB Notification: Performance of Templates: time 0.004618/0.136, allocations: 1.377 MB / 496.4 MB, free: 1.738 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.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.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.421960664913058] Failed to read output from testmodel.py, exit status != 0: 0.14634783286601305 0.159505949 0.035135240000000005 Calling exit ...