Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.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.00128/0.00128, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001491/0.001491, allocations: 214.4 kB / 23.04 MB, free: 5.078 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.008798/0.008798, allocations: 1.335 MB / 314.6 MB, free: 1.867 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="cs",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.003095/0.003095, allocations: 59.89 kB / 441 MB, free: 12.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1182, allocations: 53.67 MB / 494.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.003317/0.1216, allocations: 1.738 MB / 496.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1229, allocations: 0.5844 MB / 497 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.123, allocations: 4 kB / 497 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.1231, allocations: 15.8 kB / 497 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.1232, allocations: 31.72 kB / 497 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1235, allocations: 83.83 kB / 497.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.1238, allocations: 159.4 kB / 497.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1239, allocations: 34 kB / 497.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.124, allocations: 43.86 kB / 497.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.1241, allocations: 55.69 kB / 497.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1241, allocations: 12 kB / 497.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.1241, allocations: 8 kB / 497.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.1242, allocations: 31.8 kB / 497.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.1242, allocations: 55.67 kB / 497.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1244, allocations: 111.5 kB / 497.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1244, allocations: 3.938 kB / 497.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1244, allocations: 0 / 497.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1244, allocations: 4 kB / 497.6 MB, free: 3.57 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005868/0.125, allocations: 365.6 kB / 498 MB, free: 3.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1251, allocations: 12.03 kB / 498 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.768e-05/0.1251, allocations: 384 / 498 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.769e-05/0.1252, allocations: 42.92 kB / 498 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.1252, allocations: 16.84 kB / 498.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1254, allocations: 158.2 kB / 498.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1254, allocations: 16.25 kB / 498.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.1255, allocations: 12 kB / 498.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.1257, allocations: 108.9 kB / 498.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1257, allocations: 4 kB / 498.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1257, allocations: 0 / 498.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1257, allocations: 0 / 498.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.1258, allocations: 51.92 kB / 498.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/0.1267, allocations: 475.6 kB / 498.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1268, allocations: 74.53 kB / 498.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.1269, allocations: 28.8 kB / 499 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.1269, allocations: 7.984 kB / 499 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1269, allocations: 34.56 kB / 499 MB, free: 2.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1269, allocations: 0 / 499 MB, free: 2.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008351/0.1278, allocations: 313.1 kB / 499.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.1278, allocations: 51.41 kB / 499.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.128, allocations: 162.6 kB / 499.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.128, allocations: 37.7 kB / 499.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.1281, allocations: 119.9 kB / 499.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.1282, allocations: 43.77 kB / 499.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.1282, allocations: 37.64 kB / 499.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1284, allocations: 330.8 kB / 0.4884 GB, free: 0.8945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.1284, allocations: 20 kB / 0.4884 GB, free: 0.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.1285, allocations: 63.41 kB / 0.4884 GB, free: 0.8008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1287, allocations: 83.38 kB / 0.4885 GB, free: 0.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1287, allocations: 0 / 0.4885 GB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002099/0.1289, allocations: 125.5 kB / 0.4886 GB, free: 0.5781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1289, allocations: 4 kB / 0.4886 GB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1289, allocations: 4.094 kB / 0.4886 GB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1289, allocations: 4 kB / 0.4886 GB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.1292, allocations: 43.91 kB / 0.4887 GB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.1304, allocations: 1.309 MB / 0.49 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.1305, allocations: 0 / 0.49 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1305, allocations: 4 kB / 0.49 GB, free: 15.1 MB / 366.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 (16): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001171/0.1306, allocations: 121.9 kB / 0.4901 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.1306, allocations: 15.89 kB / 0.4901 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.1307, allocations: 17.48 kB / 0.4901 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1307, allocations: 7.938 kB / 0.4901 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.1307, allocations: 0 / 0.4901 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1307, allocations: 0 / 0.4901 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.1312, allocations: 377.4 kB / 0.4905 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1312, allocations: 0 / 0.4905 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.1315, allocations: 47.97 kB / 0.4905 GB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1315, allocations: 3.984 kB / 0.4905 GB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1315, allocations: 4 kB / 0.4905 GB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.1325, allocations: 1.301 MB / 0.4918 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1325, allocations: 0 / 0.4918 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.1328, allocations: 223.4 kB / 0.492 GB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.1328, allocations: 19.92 kB / 0.492 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1328, allocations: 8.094 kB / 0.492 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.1329, allocations: 4 kB / 0.4921 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.1329, allocations: 7.984 kB / 0.4921 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1329, allocations: 0 / 0.4921 GB, free: 12.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1331, allocations: 120 kB / 0.4922 GB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1331, allocations: 0 / 0.4922 GB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.1333, allocations: 28 kB / 0.4922 GB, free: 12.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 ($outputAlias_y) * 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 (10): * Single equations (assignments): 9 * 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.0006197/0.134, allocations: 0.7572 MB / 0.4929 GB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.1343, allocations: 83.78 kB / 0.493 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1343, allocations: 3.938 kB / 0.493 GB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1344, allocations: 43.95 kB / 0.4931 GB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.1349, allocations: 38.08 kB / 0.4931 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.1369, allocations: 1.758 MB / 0.4948 GB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1372, allocations: 0.7123 MB / 0.4955 GB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.88e-05/0.1373, allocations: 13.19 kB / 0.4955 GB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.103e-05/0.1374, allocations: 43.42 kB / 0.4956 GB, free: 9.039 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1374, allocations: 0 / 0.4956 GB, free: 9.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.1623, allocations: 3.317 MB / 0.4988 GB, free: 5.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.69, allocations: 14.95 kB / 0.4988 GB, free: 5.895 MB / 366.1 MB " [Timeout remaining time 648] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.509088766993955] Failed to read output from testmodel.py, exit status != 0: 11.85487998498138 12.061605049 11.934575723 Calling exit ...