Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.0008765/0.0008765, 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.0008864/0.0008864, allocations: 170.3 kB / 22.46 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.9399/0.9399, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.007234/0.007234, allocations: 1.029 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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 385.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.819e-05, allocations: 4.812 kB / 385.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003033/0.003061, allocations: 1.653 MB / 387.5 MB, free: 9.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.004125, allocations: 0.5415 MB / 388.1 MB, free: 8.723 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.316e-05/0.004208, allocations: 3.938 kB / 388.1 MB, free: 8.719 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.004373, allocations: 27.8 kB / 388.1 MB, free: 8.691 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.004439, allocations: 23.78 kB / 388.1 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.004737, allocations: 87.77 kB / 388.2 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.004964, allocations: 123.5 kB / 388.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.005131, allocations: 37.06 kB / 388.4 MB, free: 8.422 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.005238, allocations: 67.8 kB / 388.4 MB, free: 8.355 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.359e-05/0.005332, allocations: 27.91 kB / 388.5 MB, free: 8.328 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.005367, allocations: 8 kB / 388.5 MB, free: 8.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.921e-05/0.005387, allocations: 12 kB / 388.5 MB, free: 8.309 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.005417, allocations: 23.84 kB / 388.5 MB, free: 8.285 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.005465, allocations: 39.92 kB / 388.5 MB, free: 8.246 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.005653, allocations: 103.6 kB / 388.6 MB, free: 8.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.005658, allocations: 0 / 388.6 MB, free: 8.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.00566, allocations: 0 / 388.6 MB, free: 8.145 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.005665, allocations: 7.938 kB / 388.7 MB, free: 8.137 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005608/0.006226, allocations: 345.7 kB / 389 MB, free: 7.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.006273, allocations: 12.03 kB / 389 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.006318, allocations: 38.73 kB / 389 MB, free: 7.711 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.006359, allocations: 16.84 kB / 389.1 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.006567, allocations: 154.5 kB / 389.2 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.006582, allocations: 8.375 kB / 389.2 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.006609, allocations: 12.38 kB / 389.2 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.006788, allocations: 104.7 kB / 389.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.006798, allocations: 4.125 kB / 389.3 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.006813, allocations: 8.125 kB / 389.3 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.00682, allocations: 4 kB / 389.3 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/0.0069, allocations: 31.98 kB / 389.4 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.007493, allocations: 0.5039 MB / 389.9 MB, free: 6.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.007594, allocations: 50.5 kB / 389.9 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.007627, allocations: 24.92 kB / 390 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.007639, allocations: 0 / 390 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.007662, allocations: 30.56 kB / 390 MB, free: 6.656 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.007663, allocations: 0 / 390 MB, free: 6.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.000201/0.007864, allocations: 69.58 kB / 390.1 MB, free: 6.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.007901, allocations: 55.34 kB / 390.1 MB, free: 6.516 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.008049, allocations: 183.3 kB / 390.3 MB, free: 6.324 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.008064, allocations: 29.7 kB / 390.3 MB, free: 6.289 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.008132, allocations: 116 kB / 390.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.008147, allocations: 15.91 kB / 390.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.008196, allocations: 33.7 kB / 390.5 MB, free: 6.117 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.008293, allocations: 318.8 kB / 390.8 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.008331, allocations: 23.98 kB / 390.8 MB, free: 5.773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.695e-05/0.008378, allocations: 58.52 kB / 390.9 MB, free: 5.707 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/0.008465, allocations: 75.31 kB / 390.9 MB, free: 5.621 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.008468, allocations: 0 / 390.9 MB, free: 5.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001319/0.0086, allocations: 117.5 kB / 391.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.008615, allocations: 8 kB / 391.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.008621, allocations: 0 / 391.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.008636, allocations: 0 / 391.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.008783, allocations: 39.86 kB / 391.1 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.008791, allocations: 4 kB / 391.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.008827, allocations: 11.89 kB / 391.1 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.008834, allocations: 0 / 391.1 MB, free: 5.438 MB / 314.7 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 (15): * Single equations (assignments): 15 * 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 8.445e-05/0.008918, allocations: 130.9 kB / 391.2 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.008938, allocations: 15.91 kB / 391.3 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.008966, allocations: 17.02 kB / 391.3 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008968, allocations: 0 / 391.3 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.008974, allocations: 3.938 kB / 391.3 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.008976, allocations: 0 / 391.3 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.009237, allocations: 314.6 kB / 391.6 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009239, allocations: 4 kB / 391.6 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.009362, allocations: 23.92 kB / 391.6 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.009366, allocations: 3.938 kB / 391.6 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.009373, allocations: 8.031 kB / 391.6 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009474/0.01032, allocations: 1.293 MB / 392.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01032, allocations: 0 / 392.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.01045, allocations: 188.3 kB / 393.1 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.01048, allocations: 15.89 kB / 393.1 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.01049, allocations: 224 / 393.1 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.469e-05/0.01054, allocations: 8 kB / 393.1 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.01056, allocations: 7.984 kB / 393.1 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.01056, allocations: 3.938 kB / 393.1 MB, free: 3.223 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.941e-05/0.01064, allocations: 135.2 kB / 393.3 MB, free: 3.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01064, allocations: 0 / 393.3 MB, free: 3.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.01081, allocations: 20 kB / 393.3 MB, free: 3.07 MB / 314.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 (4): * Single equations (assignments): 3 * 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.0003813/0.01119, allocations: 0.7094 MB / 394 MB, free: 2.332 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.01134, allocations: 48.11 kB / 394 MB, free: 2.285 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01134, allocations: 4.062 kB / 394.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.01146, allocations: 27.92 kB / 394.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.01192, allocations: 40.69 kB / 394.1 MB, free: 2.219 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.01393, allocations: 1.729 MB / 395.8 MB, free: 392 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.01403, allocations: 89.31 kB / 395.9 MB, free: 280 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.45e-05/0.01412, allocations: 12.97 kB / 395.9 MB, free: 268 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.0142, allocations: 40.48 kB / 396 MB, free: 228 kB / 314.7 MB Notification: Performance of SimCode: time 1.854e-06/0.0142, allocations: 0 / 396 MB, free: 228 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.03774, allocations: 3.648 MB / 399.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.759, allocations: 0 / 399.6 MB, free: 12.76 MB / 330.7 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.680569743737578] Failed to read output from testmodel.py, exit status != 0: 6.843754146248102 6.987231888 6.845724088 Calling exit ...