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.001363/0.001363, 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.001473/0.001473, allocations: 212.1 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.705/1.705, allocations: 230.6 MB / 256 MB, free: 7.812 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.01351/0.01351, allocations: 1.345 MB / 313.8 MB, free: 1.676 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.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",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="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.002191/0.002191, allocations: 63.91 kB / 439.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09519, allocations: 53.67 MB / 493 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.003085/0.09828, allocations: 1.629 MB / 494.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.09938, allocations: 0.5222 MB / 495.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.583e-05/0.09947, allocations: 7.938 kB / 495.2 MB, free: 5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.09961, allocations: 11.86 kB / 495.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.09968, allocations: 27.8 kB / 495.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.09994, allocations: 79.83 kB / 495.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.1001, allocations: 115.6 kB / 495.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1003, allocations: 29.75 kB / 495.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.256e-05/0.1003, allocations: 39.78 kB / 495.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.1004, allocations: 31.78 kB / 495.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1004, allocations: 8 kB / 495.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.1004, allocations: 8 kB / 495.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.1005, allocations: 19.92 kB / 495.5 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.1005, allocations: 31.81 kB / 495.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1007, allocations: 103.4 kB / 495.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1007, allocations: 0 / 495.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1007, allocations: 0 / 495.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1007, allocations: 4 kB / 495.7 MB, free: 4.492 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.0005278/0.1012, allocations: 329.9 kB / 496 MB, free: 4.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1013, allocations: 8.031 kB / 496 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.1013, allocations: 38.75 kB / 496 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.1013, allocations: 8.891 kB / 496 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1016, allocations: 145.9 kB / 496.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1016, allocations: 8.375 kB / 496.2 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1016, allocations: 19.94 kB / 496.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1018, allocations: 88.25 kB / 496.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1018, allocations: 0 / 496.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1018, allocations: 0 / 496.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1018, allocations: 3.938 kB / 496.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.929e-05/0.1019, allocations: 31.98 kB / 496.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006863/0.1026, allocations: 488 kB / 496.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.186e-05/0.1027, allocations: 34.61 kB / 496.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.1027, allocations: 24.83 kB / 496.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.1027, allocations: 0 / 496.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.1028, allocations: 38.5 kB / 496.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1028, allocations: 0 / 496.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001981/0.103, allocations: 65.53 kB / 497 MB, free: 3.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.103, allocations: 51.41 kB / 497 MB, free: 2.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1032, allocations: 186.6 kB / 497.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1032, allocations: 25.7 kB / 497.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.1033, allocations: 116 kB / 497.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.1033, allocations: 7.906 kB / 497.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.1034, allocations: 37.7 kB / 497.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1035, allocations: 326.8 kB / 497.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.1035, allocations: 20 kB / 497.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.072e-05/0.1036, allocations: 79.7 kB / 497.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1038, allocations: 99.61 kB / 497.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1038, allocations: 0 / 497.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002138/0.104, allocations: 141.3 kB / 498 MB, free: 1.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.104, allocations: 4 kB / 498 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.104, allocations: 7.984 kB / 498 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.104, allocations: 0 / 498 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1042, allocations: 36 kB / 498.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.1042, allocations: 7.984 kB / 498.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.601e-05/0.1042, allocations: 11.89 kB / 498.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1042, allocations: 8.219 kB / 498.1 MB, free: 1.785 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 0.000107/0.1043, allocations: 129.7 kB / 498.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.1044, allocations: 11.89 kB / 498.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.1044, allocations: 9.031 kB / 498.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1044, allocations: 4 kB / 498.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1044, allocations: 0 / 498.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1044, allocations: 0 / 498.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.1048, allocations: 298.4 kB / 498.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1048, allocations: 4 kB / 498.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-05/0.1049, allocations: 16.05 kB / 498.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1049, allocations: 0 / 498.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1049, allocations: 0 / 498.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1049, allocations: 0 / 498.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1049, allocations: 0 / 498.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.105, allocations: 172.2 kB / 498.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.1051, allocations: 15.92 kB / 498.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.1051, allocations: 0 / 498.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.1052, allocations: 0 / 498.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.1052, allocations: 8 kB / 498.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.1052, allocations: 0 / 498.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1053, allocations: 127.3 kB / 498.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1053, allocations: 0 / 498.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1056, allocations: 23.94 kB / 498.9 MB, free: 0.8984 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.0006023/0.1062, allocations: 0.7019 MB / 499.6 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.1064, allocations: 51.86 kB / 499.7 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1064, allocations: 0 / 499.7 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.1064, allocations: 12.44 kB / 499.7 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.107, allocations: 41.95 kB / 499.7 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.1092, allocations: 1.738 MB / 0.4897 GB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.1093, allocations: 88.17 kB / 0.4898 GB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.119e-05/0.1094, allocations: 16.97 kB / 0.4898 GB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.1095, allocations: 31.42 kB / 0.4898 GB, free: 14.04 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1095, allocations: 0 / 0.4898 GB, free: 14.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.1415, allocations: 3.138 MB / 0.4929 GB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.3, allocations: 11.8 kB / 0.4929 GB, free: 11.07 MB / 366.1 MB " [Timeout remaining time 649] (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.280779927037656] Failed to read output from testmodel.py, exit status != 0: 11.411575060337782 11.599918932 11.496047148 Calling exit ...