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.001464/0.001464, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00172/0.00172, allocations: 215.7 kB / 22.25 MB, free: 5.082 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 8.031 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.01508/0.01508, allocations: 1.351 MB / 313.8 MB, free: 1.871 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.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.002174/0.002174, allocations: 70.39 kB / 439.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09824, allocations: 53.67 MB / 493.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003268/0.1015, allocations: 1.701 MB / 494.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1027, allocations: 0.5883 MB / 495.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.1028, allocations: 4 kB / 495.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.1029, allocations: 19.8 kB / 495.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.103, allocations: 27.73 kB / 495.4 MB, free: 5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.1033, allocations: 83.83 kB / 495.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.1035, allocations: 127.5 kB / 495.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1037, allocations: 33.52 kB / 495.7 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.1037, allocations: 47.78 kB / 495.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1038, allocations: 47.72 kB / 495.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1039, allocations: 12 kB / 495.8 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.18e-05/0.1039, allocations: 8 kB / 495.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.1039, allocations: 23.86 kB / 495.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.104, allocations: 51.73 kB / 495.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1042, allocations: 115.5 kB / 496 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1042, allocations: 0 / 496 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1042, allocations: 0 / 496 MB, free: 4.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1042, allocations: 0 / 496 MB, free: 4.457 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.0005597/0.1047, allocations: 349.7 kB / 496.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1048, allocations: 8.031 kB / 496.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.1048, allocations: 42.73 kB / 496.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1049, allocations: 20.84 kB / 496.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1051, allocations: 144.5 kB / 496.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1051, allocations: 8.375 kB / 496.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.1051, allocations: 16.36 kB / 496.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1053, allocations: 96.38 kB / 496.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1053, allocations: 4 kB / 496.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1053, allocations: 4 kB / 496.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1053, allocations: 0 / 496.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.098e-05/0.1054, allocations: 39.92 kB / 496.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007419/0.1062, allocations: 0.5271 MB / 497.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1063, allocations: 46.5 kB / 497.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.1063, allocations: 20.89 kB / 497.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.1063, allocations: 0 / 497.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1064, allocations: 30.56 kB / 497.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1064, allocations: 4 kB / 497.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002/0.1066, allocations: 65.77 kB / 497.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1066, allocations: 59.41 kB / 497.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.1068, allocations: 191.3 kB / 497.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1068, allocations: 25.7 kB / 497.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.1069, allocations: 108 kB / 497.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1069, allocations: 23.83 kB / 497.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.107, allocations: 33.66 kB / 497.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1071, allocations: 318.8 kB / 498.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.1072, allocations: 31.98 kB / 498.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.1072, allocations: 52.73 kB / 498.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1073, allocations: 75.3 kB / 498.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1073, allocations: 0 / 498.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001927/0.1075, allocations: 125.5 kB / 498.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1076, allocations: 7.938 kB / 498.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1076, allocations: 4 kB / 498.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1076, allocations: 0 / 498.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1077, allocations: 35.92 kB / 498.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1077, allocations: 0 / 498.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.1078, allocations: 15.88 kB / 498.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1078, allocations: 4 kB / 498.5 MB, free: 1.727 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.0001023/0.1079, allocations: 121.9 kB / 498.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.108, allocations: 19.84 kB / 498.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.108, allocations: 13.03 kB / 498.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.108, allocations: 4 kB / 498.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.108, allocations: 0 / 498.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.108, allocations: 0 / 498.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.1084, allocations: 318.4 kB / 498.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1084, allocations: 3.984 kB / 498.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.1086, allocations: 28.02 kB / 499 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1086, allocations: 0 / 499 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1086, allocations: 0 / 499 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.1097, allocations: 1.301 MB / 0.4885 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1097, allocations: 0 / 0.4885 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.1099, allocations: 184.3 kB / 0.4887 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.11, allocations: 20.09 kB / 0.4887 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.11, allocations: 4 kB / 0.4887 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.1101, allocations: 3.938 kB / 0.4887 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.1101, allocations: 3.984 kB / 0.4887 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1101, allocations: 4 kB / 0.4887 GB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1102, allocations: 131.2 kB / 0.4889 GB, free: 15.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1102, allocations: 0 / 0.4889 GB, free: 15.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1105, allocations: 27.88 kB / 0.4889 GB, free: 15.36 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.0004899/0.111, allocations: 0.7173 MB / 0.4896 GB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.1111, allocations: 51.88 kB / 0.4896 GB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1111, allocations: 0 / 0.4896 GB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1113, allocations: 32.17 kB / 0.4897 GB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.1117, allocations: 50.03 kB / 0.4897 GB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1136, allocations: 1.737 MB / 0.4914 GB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.114, allocations: 0.7118 MB / 0.4921 GB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.927e-05/0.114, allocations: 8.969 kB / 0.4921 GB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.1141, allocations: 39.42 kB / 0.4922 GB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1141, allocations: 0 / 0.4922 GB, free: 11.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.1439, allocations: 3.01 MB / 0.4951 GB, free: 9.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.31, allocations: 0 / 0.4951 GB, free: 9.035 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: 14.224713048897684] Failed to read output from testmodel.py, exit status != 0: 11.420734470011666 11.653259674 11.546236747 Calling exit ...