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.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.001589/0.001589, 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.00192/0.00192, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.009776/0.009776, allocations: 1.34 MB / 314.6 MB, free: 1.883 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.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="cs",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="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.002717/0.002717, allocations: 59.91 kB / 440.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1159, allocations: 53.68 MB / 493.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.00301/0.1189, allocations: 1.666 MB / 495.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1201, allocations: 0.5688 MB / 496.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.1201, allocations: 0 / 496.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.1203, allocations: 23.8 kB / 496.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.936e-05/0.1204, allocations: 23.78 kB / 496.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.1206, allocations: 79.89 kB / 496.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.1208, allocations: 119.6 kB / 496.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1209, allocations: 25.75 kB / 496.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.197e-05/0.121, allocations: 39.86 kB / 496.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.223e-05/0.1211, allocations: 35.78 kB / 496.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.1211, allocations: 8 kB / 496.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.1211, allocations: 8 kB / 496.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.1212, allocations: 19.86 kB / 496.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.1212, allocations: 47.67 kB / 496.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.1214, allocations: 95.56 kB / 496.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1214, allocations: 0 / 496.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1214, allocations: 0 / 496.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1214, allocations: 4 kB / 496.6 MB, free: 4.586 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004924/0.1219, allocations: 333.8 kB / 496.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1219, allocations: 12.03 kB / 497 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.231e-05/0.1219, allocations: 192 / 497 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.122, allocations: 42.75 kB / 497 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.122, allocations: 12.83 kB / 497 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1222, allocations: 136.4 kB / 497.1 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1222, allocations: 12.12 kB / 497.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.1222, allocations: 15.98 kB / 497.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1224, allocations: 92.19 kB / 497.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1224, allocations: 0 / 497.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1224, allocations: 4 kB / 497.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1224, allocations: 0 / 497.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.1225, allocations: 35.92 kB / 497.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.1232, allocations: 0.4921 MB / 497.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.273e-05/0.1233, allocations: 30.56 kB / 497.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.1233, allocations: 16.86 kB / 497.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.1233, allocations: 7.922 kB / 497.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1233, allocations: 38.5 kB / 497.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1233, allocations: 0 / 497.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001813/0.1235, allocations: 65.62 kB / 498 MB, free: 3.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1236, allocations: 51.41 kB / 498 MB, free: 3.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.1237, allocations: 178.7 kB / 498.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1238, allocations: 29.7 kB / 498.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.1238, allocations: 115.9 kB / 498.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.1239, allocations: 11.89 kB / 498.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.1239, allocations: 37.72 kB / 498.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1241, allocations: 322.8 kB / 498.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.1241, allocations: 23.98 kB / 498.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.328e-05/0.1242, allocations: 75.66 kB / 498.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1243, allocations: 103.7 kB / 498.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1243, allocations: 7.938 kB / 498.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000201/0.1245, allocations: 133.3 kB / 499 MB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1245, allocations: 4 kB / 499 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1245, allocations: 4 kB / 499 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1246, allocations: 4 kB / 499 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1247, allocations: 27.98 kB / 499.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1247, allocations: 4 kB / 499.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.1248, allocations: 16.11 kB / 499.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1248, allocations: 7.938 kB / 499.1 MB, free: 1.859 MB / 350.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 9.222e-05/0.1249, allocations: 121.8 kB / 499.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.1249, allocations: 11.89 kB / 499.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.1249, allocations: 17.02 kB / 499.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1249, allocations: 0 / 499.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1249, allocations: 64 / 499.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1249, allocations: 4 kB / 499.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.1253, allocations: 306.2 kB / 499.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.1253, allocations: 7.984 kB / 499.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.907e-05/0.1254, allocations: 8 kB / 499.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1254, allocations: 0 / 499.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1254, allocations: 4 kB / 499.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1254, allocations: 0 / 499.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1254, allocations: 0 / 499.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1256, allocations: 168.3 kB / 499.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.1256, allocations: 19.91 kB / 499.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1256, allocations: 4 kB / 499.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.1257, allocations: 0 / 499.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.1257, allocations: 0 / 499.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1257, allocations: 4 kB / 499.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1258, allocations: 123.2 kB / 499.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1258, allocations: 0 / 499.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1261, allocations: 24.02 kB / 499.9 MB, free: 0.9688 MB / 350.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.0004842/0.1266, allocations: 0.7018 MB / 0.4889 GB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.1267, allocations: 56.28 kB / 0.4889 GB, free: 188 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1267, allocations: 4.062 kB / 0.4889 GB, free: 184 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.1267, allocations: 11.98 kB / 0.4889 GB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.1272, allocations: 38.44 kB / 0.489 GB, free: 140 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1291, allocations: 1.742 MB / 0.4907 GB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.1295, allocations: 0.7002 MB / 0.4914 GB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.1295, allocations: 13.25 kB / 0.4914 GB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.1296, allocations: 31.42 kB / 0.4914 GB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1296, allocations: 3.938 kB / 0.4914 GB, free: 13.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.1528, allocations: 2.687 MB / 0.494 GB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.35, allocations: 19.97 kB / 0.494 GB, free: 10.96 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.002 --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: 14.193787441996392] Failed to read output from testmodel.py, exit status != 0: 11.517012497002725 11.743133873 11.618214455 Calling exit ...