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.001268/0.001268, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.001299/0.001299, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.386/1.386, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.00816/0.00816, allocations: 1.342 MB / 304 MB, free: 8.559 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: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.88 kB / 425.4 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.08949, allocations: 52.45 MB / 477.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003054/0.09255, allocations: 1.651 MB / 479.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009394/0.09349, allocations: 0.5182 MB / 480 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.09355, allocations: 4 kB / 480 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.09369, allocations: 19.8 kB / 480 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/0.09376, allocations: 23.78 kB / 480 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.09399, allocations: 79.84 kB / 480.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.09418, allocations: 119.5 kB / 480.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.09431, allocations: 33.56 kB / 480.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.523e-05/0.09436, allocations: 35.86 kB / 480.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.09444, allocations: 39.72 kB / 480.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.09446, allocations: 8 kB / 480.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.09447, allocations: 4 kB / 480.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.0945, allocations: 15.94 kB / 480.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.09455, allocations: 51.72 kB / 480.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.09471, allocations: 91.52 kB / 480.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09471, allocations: 0 / 480.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09471, allocations: 0 / 480.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.09472, allocations: 4 kB / 480.5 MB, free: 14.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.0005809/0.0953, allocations: 410.9 kB / 480.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.09534, allocations: 15.88 kB / 480.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.09539, allocations: 42.69 kB / 481 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.09542, allocations: 12.84 kB / 481 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.09565, allocations: 194.9 kB / 481.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.09567, allocations: 8.375 kB / 481.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.09571, allocations: 19.89 kB / 481.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.09587, allocations: 96.19 kB / 481.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.09588, allocations: 0 / 481.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.09589, allocations: 4 kB / 481.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.0959, allocations: 0 / 481.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.09597, allocations: 35.92 kB / 481.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.09668, allocations: 0.5204 MB / 481.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.468e-05/0.09678, allocations: 34.56 kB / 481.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.09681, allocations: 12.86 kB / 481.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.09682, allocations: 0 / 481.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.09687, allocations: 38.48 kB / 481.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.09687, allocations: 4 kB / 481.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001931/0.09706, allocations: 65.67 kB / 482 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.09711, allocations: 51.41 kB / 482.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.09728, allocations: 174.3 kB / 482.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.0973, allocations: 29.7 kB / 482.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.09739, allocations: 111.9 kB / 482.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.09741, allocations: 15.89 kB / 482.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.09747, allocations: 41.66 kB / 482.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.09762, allocations: 322.8 kB / 482.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.09766, allocations: 19.98 kB / 482.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.09776, allocations: 79.66 kB / 482.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.09789, allocations: 99.61 kB / 482.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.09789, allocations: 0 / 482.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002112/0.0981, allocations: 141.4 kB / 483.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.09812, allocations: 7.938 kB / 483.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.09813, allocations: 4 kB / 483.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.09815, allocations: 4 kB / 483.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.09826, allocations: 23.98 kB / 483.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.09828, allocations: 7.938 kB / 483.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.09834, allocations: 15.89 kB / 483.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.09835, allocations: 8.219 kB / 483.1 MB, free: 11.53 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.0001033/0.09845, allocations: 125.8 kB / 483.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.09849, allocations: 15.84 kB / 483.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.09852, allocations: 12.94 kB / 483.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.09852, allocations: 3.984 kB / 483.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.09853, allocations: 0 / 483.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.09853, allocations: 3.938 kB / 483.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.09888, allocations: 319.3 kB / 483.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.09889, allocations: 8.062 kB / 483.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.09896, allocations: 16.05 kB / 483.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.09897, allocations: 0 / 483.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.09897, allocations: 0 / 483.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.09898, allocations: 3.938 kB / 483.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.09898, allocations: 0 / 483.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.09916, allocations: 176.3 kB / 483.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.09923, allocations: 89.11 kB / 483.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.09925, allocations: 4 kB / 483.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.09931, allocations: 0 / 483.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.09932, allocations: 0 / 483.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.09932, allocations: 4 kB / 483.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.954e-05/0.09942, allocations: 128.2 kB / 484 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09942, allocations: 0 / 484 MB, free: 10.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.0997, allocations: 19.94 kB / 484.1 MB, free: 10.5 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.0004542/0.1002, allocations: 0.7083 MB / 484.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.1003, allocations: 59.84 kB / 484.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1003, allocations: 0.5 kB / 484.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.1003, allocations: 8 kB / 484.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1007, allocations: 47.94 kB / 484.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.1026, allocations: 1.723 MB / 486.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1029, allocations: 0.7002 MB / 487.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.1029, allocations: 13.14 kB / 487.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.103, allocations: 35.36 kB / 487.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.103, allocations: 0 / 487.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.1273, allocations: 2.544 MB / 489.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.195, allocations: 9.5 kB / 489.9 MB, free: 4.664 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.602992319967598] Failed to read output from testmodel.py, exit status != 0: 8.264777733944356 8.286187961 8.188595992 Calling exit ...