Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9227/0.9227, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo): time 0.004304/0.004304, allocations: 1.03 MB / 260.2 MB, free: 12.32 MB / 250.7 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 385.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.046e-05, allocations: 6.281 kB / 385.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002517/0.002537, allocations: 1.762 MB / 387.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009707/0.003508, allocations: 0.5493 MB / 388.2 MB, free: 9.793 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.483e-05/0.003583, allocations: 0 / 388.2 MB, free: 9.793 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.003732, allocations: 19.8 kB / 388.2 MB, free: 9.773 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.00379, allocations: 39.59 kB / 388.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.004031, allocations: 87.81 kB / 388.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.004214, allocations: 175.3 kB / 388.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.00434, allocations: 29.78 kB / 388.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.914e-05/0.004439, allocations: 79.8 kB / 388.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.004498, allocations: 39.84 kB / 388.7 MB, free: 9.328 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.004526, allocations: 12 kB / 388.7 MB, free: 9.316 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.004546, allocations: 8 kB / 388.7 MB, free: 9.309 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.00457, allocations: 27.91 kB / 388.7 MB, free: 9.281 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.00461, allocations: 47.83 kB / 388.8 MB, free: 9.234 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.00476, allocations: 131.4 kB / 388.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004762, allocations: 4 kB / 388.9 MB, free: 9.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.004764, allocations: 0 / 388.9 MB, free: 9.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.004768, allocations: 0 / 388.9 MB, free: 9.102 MB / 362.7 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.0004992/0.005267, allocations: 373.6 kB / 389.2 MB, free: 8.707 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.005305, allocations: 8.031 kB / 389.3 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.005339, allocations: 38.75 kB / 389.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.005373, allocations: 20.83 kB / 389.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.005546, allocations: 154.2 kB / 389.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.005563, allocations: 12.33 kB / 389.5 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.005585, allocations: 8.375 kB / 389.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.005771, allocations: 115.9 kB / 389.6 MB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.005778, allocations: 192 / 389.6 MB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.00579, allocations: 12.12 kB / 389.6 MB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.005796, allocations: 4 kB / 389.6 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.005922, allocations: 71.83 kB / 389.7 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.00646, allocations: 451.8 kB / 390.1 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.006597, allocations: 74.55 kB / 390.2 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/0.006661, allocations: 40.95 kB / 390.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.006677, allocations: 0 / 390.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.006696, allocations: 34.5 kB / 390.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.006697, allocations: 4 kB / 390.3 MB, free: 7.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002667/0.006964, allocations: 121.5 kB / 390.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.006995, allocations: 55.34 kB / 390.4 MB, free: 7.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.007118, allocations: 174.9 kB / 390.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.007132, allocations: 29.7 kB / 390.6 MB, free: 7.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.007192, allocations: 116 kB / 390.8 MB, free: 7.039 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.00721, allocations: 27.8 kB / 390.8 MB, free: 7.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.007249, allocations: 29.7 kB / 390.8 MB, free: 6.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.007335, allocations: 318.8 kB / 391.1 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.007402, allocations: 31.97 kB / 391.2 MB, free: 6.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.007485, allocations: 66.42 kB / 391.2 MB, free: 6.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.007619, allocations: 90.53 kB / 391.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.007622, allocations: 256 / 391.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001791/0.007801, allocations: 129.5 kB / 391.4 MB, free: 6.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.007813, allocations: 4 kB / 391.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.007819, allocations: 4 kB / 391.4 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.007833, allocations: 4 kB / 391.5 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.007947, allocations: 39.92 kB / 391.5 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.007955, allocations: 4 kB / 391.5 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.008001, allocations: 15.88 kB / 391.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.008008, allocations: 4 kB / 391.5 MB, free: 6.246 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * 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.0003396/0.008348, allocations: 119.6 kB / 391.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.008368, allocations: 23.83 kB / 391.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.008399, allocations: 13.45 kB / 391.7 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.008402, allocations: 4 kB / 391.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.008407, allocations: 3.938 kB / 391.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.00841, allocations: 4 kB / 391.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.008747, allocations: 350.4 kB / 392 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.008751, allocations: 7.984 kB / 392 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.00889, allocations: 27.92 kB / 392.1 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.008894, allocations: 7.938 kB / 392.1 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.008903, allocations: 4 kB / 392.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000808/0.009711, allocations: 1.293 MB / 393.4 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009712, allocations: 0 / 393.4 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.009943, allocations: 244.3 kB / 393.6 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.009976, allocations: 24.05 kB / 393.6 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.009986, allocations: 7.938 kB / 393.6 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.01004, allocations: 7.984 kB / 393.6 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.01009, allocations: 4 kB / 393.6 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.01009, allocations: 3.938 kB / 393.6 MB, free: 3.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.971e-05/0.01016, allocations: 135.2 kB / 393.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01016, allocations: 0 / 393.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001863/0.01035, allocations: 20 kB / 393.8 MB, free: 3.77 MB / 362.7 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.0003993/0.01075, allocations: 0.7718 MB / 394.6 MB, free: 2.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.01092, allocations: 71.89 kB / 394.6 MB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.01092, allocations: 4 kB / 394.6 MB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.01104, allocations: 51.88 kB / 394.7 MB, free: 2.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.01138, allocations: 54.69 kB / 394.7 MB, free: 2.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.01285, allocations: 1.783 MB / 396.5 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.894e-05/0.01292, allocations: 97.39 kB / 396.6 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.948e-05/0.01298, allocations: 16.97 kB / 396.6 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.01304, allocations: 36.48 kB / 396.7 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01304, allocations: 4 kB / 396.7 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.03109, allocations: 3.937 MB / 400.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.804/6.835, allocations: 11.86 kB / 400.6 MB, free: 12.98 MB / 378.7 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=1000 --stepSize=2 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.630333289504051] Failed to read output from testmodel.py, exit status != 0: 6.917332482524216 6.926868257 6.920128225 Calling exit ...