Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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.001844/0.001844, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.002395/0.002395, allocations: 217.7 kB / 23.03 MB, free: 4.902 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.008301/0.008301, allocations: 1.347 MB / 314.6 MB, free: 1.633 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.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",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.002015/0.002015, allocations: 75.88 kB / 440.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.09879, allocations: 53.67 MB / 493.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003154/0.1019, allocations: 1.74 MB / 495.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1031, allocations: 0.5533 MB / 496.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.468e-05/0.1031, allocations: 0 / 496.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.1033, allocations: 19.8 kB / 496.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.1034, allocations: 43.64 kB / 496.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.1036, allocations: 83.89 kB / 496.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.1039, allocations: 159.4 kB / 496.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.104, allocations: 41.94 kB / 496.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.425e-05/0.1041, allocations: 59.66 kB / 496.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.612e-05/0.1042, allocations: 55.72 kB / 496.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.1042, allocations: 12 kB / 496.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.544e-05/0.1043, allocations: 8 kB / 496.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.1043, allocations: 23.92 kB / 496.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.1044, allocations: 51.73 kB / 496.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1046, allocations: 135.4 kB / 496.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1046, allocations: 0 / 496.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1046, allocations: 4 kB / 496.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1046, allocations: 0 / 496.8 MB, free: 4.125 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.0007091/0.1053, allocations: 369.6 kB / 497.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1053, allocations: 12.03 kB / 497.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.775e-05/0.1054, allocations: 192 / 497.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.1054, allocations: 54.61 kB / 497.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.1055, allocations: 20.84 kB / 497.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1057, allocations: 147.1 kB / 497.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1057, allocations: 4.375 kB / 497.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.1057, allocations: 12.31 kB / 497.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.106, allocations: 129.9 kB / 497.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.106, allocations: 0 / 497.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.1061, allocations: 4 kB / 497.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1061, allocations: 4 kB / 497.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.1063, allocations: 67.94 kB / 497.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.1071, allocations: 451.8 kB / 498 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1073, allocations: 70.48 kB / 498.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1074, allocations: 36.95 kB / 498.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1074, allocations: 4 kB / 498.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1075, allocations: 38.5 kB / 498.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1075, allocations: 4 kB / 498.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004211/0.1079, allocations: 125.5 kB / 498.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.1079, allocations: 51.41 kB / 498.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.1082, allocations: 175 kB / 498.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1082, allocations: 25.7 kB / 498.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/0.1083, allocations: 124 kB / 498.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1083, allocations: 27.8 kB / 498.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.1084, allocations: 33.66 kB / 498.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1085, allocations: 322.8 kB / 499 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1086, allocations: 31.97 kB / 499.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1088, allocations: 54.55 kB / 499.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.109, allocations: 90.48 kB / 499.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.109, allocations: 4 kB / 499.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003253/0.1093, allocations: 137.5 kB / 499.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1093, allocations: 10.91 kB / 499.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1093, allocations: 0 / 499.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1094, allocations: 4 kB / 499.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.1095, allocations: 23.98 kB / 499.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1095, allocations: 7.984 kB / 499.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1097, allocations: 19.95 kB / 499.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1097, allocations: 4 kB / 499.4 MB, free: 1.262 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * 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.0001089/0.1098, allocations: 121.8 kB / 499.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.1098, allocations: 19.84 kB / 499.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.1099, allocations: 13.39 kB / 499.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1099, allocations: 4 kB / 499.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1099, allocations: 0 / 499.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1099, allocations: 0 / 499.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.1105, allocations: 370.3 kB / 499.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.1105, allocations: 4 kB / 499.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.1107, allocations: 27.97 kB / 500 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1107, allocations: 4 kB / 500 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1107, allocations: 320 / 500 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.1118, allocations: 1.309 MB / 0.4895 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1118, allocations: 0 / 0.4895 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.1123, allocations: 240.2 kB / 0.4898 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1124, allocations: 19.84 kB / 0.4898 GB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.1124, allocations: 0 / 0.4898 GB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1125, allocations: 15.92 kB / 0.4898 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.1125, allocations: 7.984 kB / 0.4898 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.1125, allocations: 4.156 kB / 0.4898 GB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1126, allocations: 123.2 kB / 0.4899 GB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1126, allocations: 0 / 0.4899 GB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1129, allocations: 27.94 kB / 0.4899 GB, free: 14.78 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 (6): * Single equations (assignments): 5 * 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.0007926/0.1137, allocations: 0.7708 MB / 0.4907 GB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.114, allocations: 87.88 kB / 0.4908 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.114, allocations: 4 kB / 0.4908 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.1143, allocations: 39.97 kB / 0.4908 GB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.1147, allocations: 48.16 kB / 0.4909 GB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.1172, allocations: 1.808 MB / 0.4926 GB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.718e-05/0.1173, allocations: 97.39 kB / 0.4927 GB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.296e-05/0.1174, allocations: 16.95 kB / 0.4927 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1175, allocations: 47.36 kB / 0.4928 GB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1175, allocations: 0 / 0.4928 GB, free: 11.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.1419, allocations: 3.43 MB / 0.4961 GB, free: 8.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.93, allocations: 4.062 kB / 0.4961 GB, free: 8.496 MB / 366.1 MB " [Timeout remaining time 648] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=1000 --stepSize=2 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.799504048074596] Failed to read output from testmodel.py, exit status != 0: 12.09291890100576 12.344686958 12.237261351 Calling exit ...