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.001236/0.001236, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001253/0.001253, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.416/1.416, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.007592/0.007592, allocations: 1.349 MB / 305.9 MB, free: 3.473 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.001852/0.001852, allocations: 63.89 kB / 428.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2675, allocations: 52.45 MB / 480.9 MB, free: 29.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.002282/0.2698, allocations: 1.659 MB / 482.5 MB, free: 28.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007011/0.2705, allocations: 0.5237 MB / 483.1 MB, free: 27.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.2706, allocations: 3.938 kB / 483.1 MB, free: 27.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.2707, allocations: 18.27 kB / 483.1 MB, free: 27.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.2707, allocations: 26.08 kB / 483.1 MB, free: 27.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.271, allocations: 79.17 kB / 483.2 MB, free: 27.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.2711, allocations: 113.2 kB / 483.3 MB, free: 27.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2712, allocations: 31.12 kB / 483.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.2712, allocations: 46.17 kB / 483.4 MB, free: 27.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.2713, allocations: 39.83 kB / 483.4 MB, free: 27.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.2713, allocations: 5.969 kB / 483.4 MB, free: 27.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.2713, allocations: 6.094 kB / 483.4 MB, free: 27.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.2714, allocations: 11.09 kB / 483.4 MB, free: 27.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.2714, allocations: 47.17 kB / 483.5 MB, free: 27.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.2715, allocations: 96.58 kB / 483.6 MB, free: 27.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2715, allocations: 0 / 483.6 MB, free: 27.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2715, allocations: 0 / 483.6 MB, free: 27.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.2715, allocations: 0 / 483.6 MB, free: 27.7 MB / 366.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.0003666/0.2719, allocations: 406.3 kB / 484 MB, free: 27.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2719, allocations: 17.08 kB / 484 MB, free: 27.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.2719, allocations: 41.2 kB / 484 MB, free: 27.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.272, allocations: 14.84 kB / 484 MB, free: 27.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.2721, allocations: 201.3 kB / 484.2 MB, free: 27.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2721, allocations: 11.5 kB / 484.2 MB, free: 27.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.2721, allocations: 18.05 kB / 484.3 MB, free: 27.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2723, allocations: 94.34 kB / 484.4 MB, free: 26.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2723, allocations: 0 / 484.4 MB, free: 26.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.2723, allocations: 2.969 kB / 484.4 MB, free: 26.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2723, allocations: 0 / 484.4 MB, free: 26.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.62e-05/0.2723, allocations: 37.92 kB / 484.4 MB, free: 26.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.2728, allocations: 0.5121 MB / 484.9 MB, free: 26.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.2729, allocations: 35.03 kB / 484.9 MB, free: 26.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.2729, allocations: 14.92 kB / 485 MB, free: 26.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.2729, allocations: 4 kB / 485 MB, free: 26.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2729, allocations: 41.22 kB / 485 MB, free: 26.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.2729, allocations: 0 / 485 MB, free: 26.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001505/0.2731, allocations: 56.3 kB / 485.1 MB, free: 26.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.2731, allocations: 51.41 kB / 485.1 MB, free: 26.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2732, allocations: 171.5 kB / 485.3 MB, free: 26.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.2732, allocations: 28.7 kB / 485.3 MB, free: 26.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.2733, allocations: 114.3 kB / 485.4 MB, free: 25.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.2733, allocations: 14.33 kB / 485.4 MB, free: 25.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.2733, allocations: 45.16 kB / 485.5 MB, free: 25.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.2734, allocations: 321.3 kB / 485.8 MB, free: 25.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.2734, allocations: 19.91 kB / 485.8 MB, free: 25.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.011e-05/0.2734, allocations: 85.62 kB / 485.9 MB, free: 25.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.743e-05/0.2735, allocations: 102.6 kB / 486 MB, free: 25.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2735, allocations: 3 kB / 486 MB, free: 25.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001505/0.2737, allocations: 133.6 kB / 486.1 MB, free: 25.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2737, allocations: 5.969 kB / 486.1 MB, free: 25.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2737, allocations: 3 kB / 486.1 MB, free: 25.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2737, allocations: 3.031 kB / 486.1 MB, free: 25.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.2738, allocations: 28.58 kB / 486.2 MB, free: 25.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2738, allocations: 7 kB / 486.2 MB, free: 25.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.2739, allocations: 21.86 kB / 486.2 MB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.2739, allocations: 3.234 kB / 486.2 MB, free: 25.32 MB / 366.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 6.134e-05/0.274, allocations: 131.2 kB / 486.3 MB, free: 25.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.274, allocations: 17.88 kB / 486.3 MB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.274, allocations: 15.92 kB / 486.4 MB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.274, allocations: 0 / 486.4 MB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.274, allocations: 0 / 486.4 MB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.274, allocations: 4 kB / 486.4 MB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.2742, allocations: 329.8 kB / 486.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2742, allocations: 0 / 486.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.2743, allocations: 8.969 kB / 486.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2743, allocations: 0 / 486.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.2743, allocations: 0 / 486.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2743, allocations: 3 kB / 486.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2743, allocations: 0 / 486.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.2745, allocations: 176.1 kB / 486.9 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.2745, allocations: 87.39 kB / 486.9 MB, free: 24.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.2745, allocations: 4.062 kB / 487 MB, free: 24.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-05/0.2746, allocations: 6.938 kB / 487 MB, free: 24.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.2746, allocations: 0 / 487 MB, free: 24.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2746, allocations: 3.031 kB / 487 MB, free: 24.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.309e-05/0.2746, allocations: 131.2 kB / 487.1 MB, free: 24.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2746, allocations: 4.062 kB / 487.1 MB, free: 24.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000238/0.2749, allocations: 15 kB / 487.1 MB, free: 24.46 MB / 366.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.0002499/0.2751, allocations: 0.6987 MB / 487.8 MB, free: 23.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.2753, allocations: 62.84 kB / 487.9 MB, free: 23.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2753, allocations: 0 / 487.9 MB, free: 23.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.2753, allocations: 6.938 kB / 487.9 MB, free: 23.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.2757, allocations: 43.83 kB / 487.9 MB, free: 23.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.2769, allocations: 1.729 MB / 489.6 MB, free: 22.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2771, allocations: 0.7036 MB / 490.3 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.753e-05/0.2771, allocations: 18.89 kB / 490.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.2772, allocations: 22.72 kB / 490.4 MB, free: 21.47 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2772, allocations: 0 / 490.4 MB, free: 21.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.3026, allocations: 2.52 MB / 492.9 MB, free: 21.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/7.998, allocations: 6.344 kB / 492.9 MB, free: 21.01 MB / 366.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 --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.348853803996462] Failed to read output from testmodel.py, exit status != 0: 8.067743054998573 8.083755162 7.809614598 Calling exit ...