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.001852/0.001852, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00212/0.00212, allocations: 209.9 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.01754/0.01754, allocations: 1.342 MB / 313.8 MB, free: 1.652 MB / 238.1 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: BoundaryInitBlocks requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002986/0.002986, allocations: 71.89 kB / 439.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1152, allocations: 53.67 MB / 493 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003152/0.1184, allocations: 1.649 MB / 494.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1196, allocations: 0.5455 MB / 495.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.153e-05/0.1197, allocations: 4 kB / 495.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.1198, allocations: 19.8 kB / 495.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.225e-05/0.1199, allocations: 31.72 kB / 495.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.1202, allocations: 71.91 kB / 495.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.1204, allocations: 135.5 kB / 495.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1206, allocations: 37.52 kB / 495.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.1206, allocations: 43.73 kB / 495.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.1207, allocations: 39.78 kB / 495.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.1208, allocations: 8 kB / 495.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.139e-05/0.1208, allocations: 8 kB / 495.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.1208, allocations: 19.92 kB / 495.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.1209, allocations: 55.66 kB / 495.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1211, allocations: 111.5 kB / 495.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1211, allocations: 0 / 495.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1211, allocations: 0 / 495.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.1211, allocations: 4 kB / 495.8 MB, free: 4.355 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005888/0.1217, allocations: 349.8 kB / 496.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.1217, allocations: 8.031 kB / 496.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.1218, allocations: 38.75 kB / 496.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.1218, allocations: 16.78 kB / 496.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1221, allocations: 156.5 kB / 496.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1221, allocations: 384 / 496.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.1221, allocations: 12.38 kB / 496.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1223, allocations: 108.3 kB / 496.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1223, allocations: 0 / 496.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1223, allocations: 8 kB / 496.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1223, allocations: 4 kB / 496.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.1224, allocations: 31.98 kB / 496.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007586/0.1232, allocations: 0.5038 MB / 497 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1233, allocations: 42.56 kB / 497 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.1234, allocations: 16.89 kB / 497 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.1234, allocations: 4 kB / 497.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1234, allocations: 30.56 kB / 497.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1234, allocations: 11.94 kB / 497.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.1236, allocations: 73.55 kB / 497.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1237, allocations: 55.41 kB / 497.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1239, allocations: 187.3 kB / 497.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1239, allocations: 25.7 kB / 497.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.124, allocations: 108 kB / 497.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.124, allocations: 19.84 kB / 497.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.1241, allocations: 37.64 kB / 497.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1243, allocations: 322.8 kB / 497.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.1243, allocations: 20 kB / 497.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.1244, allocations: 59.41 kB / 498 MB, free: 1.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1245, allocations: 75.31 kB / 498.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1245, allocations: 0 / 498.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002098/0.1247, allocations: 121.5 kB / 498.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1247, allocations: 7.938 kB / 498.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1247, allocations: 0 / 498.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1248, allocations: 4 kB / 498.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1249, allocations: 36.08 kB / 498.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1249, allocations: 3.938 kB / 498.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.125, allocations: 11.89 kB / 498.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.125, allocations: 4 kB / 498.2 MB, free: 1.648 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 (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 0.0001221/0.1251, allocations: 122.8 kB / 498.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.1252, allocations: 15.84 kB / 498.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.1252, allocations: 17.02 kB / 498.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1252, allocations: 192 / 498.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1252, allocations: 0 / 498.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1252, allocations: 7.984 kB / 498.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.1256, allocations: 310.4 kB / 498.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1256, allocations: 0 / 498.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.1258, allocations: 19.98 kB / 498.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.1258, allocations: 7.984 kB / 498.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1258, allocations: 0 / 498.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.1271, allocations: 1.305 MB / 0.4883 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1271, allocations: 0 / 0.4883 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.1273, allocations: 176.3 kB / 0.4885 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1273, allocations: 19.92 kB / 0.4885 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1273, allocations: 0 / 0.4885 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.1274, allocations: 7.938 kB / 0.4885 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.1274, allocations: 7.938 kB / 0.4885 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1274, allocations: 4 kB / 0.4885 GB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1276, allocations: 135.2 kB / 0.4886 GB, free: 15.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1276, allocations: 0 / 0.4886 GB, free: 15.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1278, allocations: 32.03 kB / 0.4887 GB, free: 15.28 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 (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.0005405/0.1284, allocations: 0.7133 MB / 0.4894 GB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.1285, allocations: 51.92 kB / 0.4894 GB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1285, allocations: 0 / 0.4894 GB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1286, allocations: 27.91 kB / 0.4895 GB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.1292, allocations: 38.28 kB / 0.4895 GB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.1315, allocations: 1.742 MB / 0.4912 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.1316, allocations: 89.19 kB / 0.4913 GB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.728e-05/0.1317, allocations: 12.97 kB / 0.4913 GB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1318, allocations: 35.42 kB / 0.4913 GB, free: 12.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.834e-06/0.1318, allocations: 0 / 0.4913 GB, free: 12.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.1654, allocations: 3.505 MB / 0.4947 GB, free: 9.113 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.17, allocations: 8 kB / 0.4948 GB, free: 9.105 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.998679868876934] Failed to read output from testmodel.py, exit status != 0: 11.280289981979877 11.500488236 11.376616356 Calling exit ...