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.001361/0.001361, allocations: 115.1 kB / 17.08 MB, free: 5.793 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.001296/0.001296, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.403/1.403, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 179] 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.1137/0.1137, allocations: 1.308 MB / 299.2 MB, free: 5.098 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.003034/0.003034, allocations: 59.89 kB / 416.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2555, allocations: 49.73 MB / 466.1 MB, free: 25.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.002493/0.258, allocations: 1.695 MB / 467.8 MB, free: 24.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008175/0.2589, allocations: 0.5397 MB / 468.4 MB, free: 23.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.2589, allocations: 0 / 468.4 MB, free: 23.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.2591, allocations: 18.75 kB / 468.4 MB, free: 23.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.892e-05/0.2592, allocations: 30.97 kB / 468.4 MB, free: 23.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.2594, allocations: 85.69 kB / 468.5 MB, free: 23.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.2596, allocations: 142.6 kB / 468.6 MB, free: 23.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.2598, allocations: 60.17 kB / 468.7 MB, free: 23.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.2598, allocations: 49.94 kB / 468.7 MB, free: 23.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2599, allocations: 49.25 kB / 468.8 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.26, allocations: 9.281 kB / 468.8 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.26, allocations: 9.594 kB / 468.8 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.26, allocations: 18.88 kB / 468.8 MB, free: 23.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.68e-05/0.2601, allocations: 67.56 kB / 468.9 MB, free: 23.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.2603, allocations: 118.4 kB / 469 MB, free: 23.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2603, allocations: 0 / 469 MB, free: 23.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2603, allocations: 0 / 469 MB, free: 23.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2603, allocations: 0 / 469 MB, free: 23.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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005084/0.2608, allocations: 437.7 kB / 469.4 MB, free: 23.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2608, allocations: 13.83 kB / 469.4 MB, free: 23.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.2609, allocations: 15.16 kB / 469.5 MB, free: 23.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.2611, allocations: 212.8 kB / 469.7 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2611, allocations: 10.75 kB / 469.7 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.2611, allocations: 11.58 kB / 469.7 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2613, allocations: 103.7 kB / 469.8 MB, free: 22.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2613, allocations: 0 / 469.8 MB, free: 22.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.2613, allocations: 11.44 kB / 469.8 MB, free: 22.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2613, allocations: 3.031 kB / 469.8 MB, free: 22.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.2614, allocations: 38.53 kB / 469.8 MB, free: 22.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.262, allocations: 493.7 kB / 470.3 MB, free: 22.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.2622, allocations: 63.42 kB / 470.4 MB, free: 22.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.2622, allocations: 31.47 kB / 470.4 MB, free: 22.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.2622, allocations: 0 / 470.4 MB, free: 22.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.2623, allocations: 31.08 kB / 470.5 MB, free: 22.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.2623, allocations: 0 / 470.5 MB, free: 22.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002093/0.2625, allocations: 86.31 kB / 470.5 MB, free: 22.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.2625, allocations: 56 kB / 470.6 MB, free: 22.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.2626, allocations: 170.1 kB / 470.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.2627, allocations: 36.89 kB / 470.8 MB, free: 22.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.2627, allocations: 120 kB / 470.9 MB, free: 21.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.2627, allocations: 21.2 kB / 470.9 MB, free: 21.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.2628, allocations: 25.55 kB / 471 MB, free: 21.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.2628, allocations: 326 kB / 471.3 MB, free: 21.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.111e-05/0.2629, allocations: 16.09 kB / 471.3 MB, free: 21.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.024e-05/0.2629, allocations: 43.67 kB / 471.3 MB, free: 21.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.263, allocations: 80.06 kB / 471.4 MB, free: 21.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.263, allocations: 0 / 471.4 MB, free: 21.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001332/0.2632, allocations: 111 kB / 471.5 MB, free: 21.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2632, allocations: 3.188 kB / 471.5 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2632, allocations: 7.062 kB / 471.5 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2632, allocations: 0 / 471.5 MB, free: 21.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.2635, allocations: 41.97 kB / 471.6 MB, free: 21.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006813/0.2642, allocations: 1.401 MB / 473 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.2642, allocations: 14.73 kB / 473 MB, free: 19.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2642, allocations: 4.875 kB / 473 MB, free: 19.9 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 6.388e-05/0.2643, allocations: 125.1 kB / 473.1 MB, free: 19.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.2643, allocations: 15.06 kB / 473.1 MB, free: 19.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.2644, allocations: 15.95 kB / 473.1 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2644, allocations: 3.031 kB / 473.1 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.2644, allocations: 4 kB / 473.1 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2644, allocations: 1.312 kB / 473.1 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.2647, allocations: 370.5 kB / 473.5 MB, free: 19.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2647, allocations: 0 / 473.5 MB, free: 19.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.2649, allocations: 35.98 kB / 473.5 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2649, allocations: 0 / 473.5 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2649, allocations: 7.812 kB / 473.6 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005649/0.2655, allocations: 1.399 MB / 475 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2655, allocations: 3.938 kB / 475 MB, free: 17.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.2657, allocations: 195.8 kB / 475.1 MB, free: 17.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.2657, allocations: 96.19 kB / 475.2 MB, free: 17.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.2657, allocations: 0.5156 kB / 475.2 MB, free: 17.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.2658, allocations: 5.531 kB / 475.2 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.2658, allocations: 8.688 kB / 475.3 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.2658, allocations: 5.391 kB / 475.3 MB, free: 17.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.743e-05/0.2659, allocations: 124.4 kB / 475.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2659, allocations: 0 / 475.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.2662, allocations: 23.56 kB / 475.4 MB, free: 17.54 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 8.829e-05/0.2663, allocations: 102.2 kB / 475.5 MB, free: 17.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.2666, allocations: 75.88 kB / 475.6 MB, free: 17.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2666, allocations: 1.25 kB / 475.6 MB, free: 17.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.2668, allocations: 43.47 kB / 475.6 MB, free: 17.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.2672, allocations: 51.11 kB / 475.7 MB, free: 17.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.2678, allocations: 342.7 kB / 476 MB, free: 17.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.2679, allocations: 0.7049 MB / 476.7 MB, free: 16.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.268, allocations: 17.03 kB / 476.7 MB, free: 16.42 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.268, allocations: 0 / 476.7 MB, free: 16.42 MB / 350.1 MB Notification: Performance of Templates: time 0.004256/0.2722, allocations: 1.939 MB / 478.7 MB, free: 16.26 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 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.068043042905629] Failed to read output from testmodel.py, exit status != 0: 0.28215998597443104 0.290004599 0.027527425 Calling exit ...