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.001433/0.001433, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001544/0.001544, allocations: 215 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.008718/0.008718, allocations: 1.343 MB / 314.6 MB, free: 1.898 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.002184/0.002184, allocations: 63.91 kB / 440.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1038, allocations: 53.68 MB / 493.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003658/0.1075, allocations: 1.806 MB / 495.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1087, allocations: 0.5961 MB / 496.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1088, allocations: 3.938 kB / 496.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.109, allocations: 19.8 kB / 496.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.431e-05/0.1091, allocations: 31.72 kB / 496.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.1094, allocations: 91.81 kB / 496.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.1097, allocations: 159.4 kB / 496.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1098, allocations: 37.95 kB / 496.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.11, allocations: 55.77 kB / 496.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1101, allocations: 63.64 kB / 496.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.1101, allocations: 12 kB / 496.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.086e-05/0.1101, allocations: 12 kB / 496.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.1102, allocations: 23.92 kB / 496.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.1102, allocations: 63.61 kB / 496.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1105, allocations: 123.5 kB / 497 MB, free: 4.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1105, allocations: 0 / 497 MB, free: 4.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1105, allocations: 0 / 497 MB, free: 4.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.1105, allocations: 0 / 497 MB, free: 4.246 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.0007204/0.1112, allocations: 389.5 kB / 497.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1113, allocations: 8.031 kB / 497.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.127e-05/0.1113, allocations: 4.188 kB / 497.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.1113, allocations: 38.75 kB / 497.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.1114, allocations: 12.84 kB / 497.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.1116, allocations: 155 kB / 497.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1116, allocations: 12.36 kB / 497.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.1117, allocations: 12.38 kB / 497.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.112, allocations: 129.8 kB / 497.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.112, allocations: 0 / 497.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.112, allocations: 0 / 497.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.112, allocations: 4 kB / 497.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.1123, allocations: 67.89 kB / 497.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009104/0.1132, allocations: 479.7 kB / 498.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.1134, allocations: 66.55 kB / 498.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1135, allocations: 28.97 kB / 498.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1135, allocations: 4 kB / 498.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.1136, allocations: 46.44 kB / 498.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.1136, allocations: 0 / 498.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004798/0.114, allocations: 129.7 kB / 498.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.1141, allocations: 51.41 kB / 498.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1143, allocations: 175 kB / 498.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1143, allocations: 29.7 kB / 498.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.1144, allocations: 120 kB / 498.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.1145, allocations: 23.8 kB / 498.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1146, allocations: 33.66 kB / 499 MB, free: 2.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1147, allocations: 322.8 kB / 499.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.1149, allocations: 36.03 kB / 499.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.115, allocations: 62.48 kB / 499.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.1153, allocations: 90.55 kB / 499.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1153, allocations: 0 / 499.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003598/0.1156, allocations: 133.5 kB / 499.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.1157, allocations: 11.94 kB / 499.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1157, allocations: 0 / 499.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1157, allocations: 0 / 499.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.1159, allocations: 35.91 kB / 499.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1159, allocations: 0 / 499.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.116, allocations: 19.89 kB / 499.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.116, allocations: 4 kB / 499.7 MB, free: 1.348 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.0001237/0.1161, allocations: 125.9 kB / 499.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.1162, allocations: 15.84 kB / 499.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.1162, allocations: 13.41 kB / 499.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1162, allocations: 3.938 kB / 499.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1162, allocations: 0 / 499.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1162, allocations: 4 kB / 499.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006139/0.1168, allocations: 374.3 kB / 0.4885 GB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1168, allocations: 4.031 kB / 0.4885 GB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.1171, allocations: 35.91 kB / 0.4885 GB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1171, allocations: 0 / 0.4885 GB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1171, allocations: 0 / 0.4885 GB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.1183, allocations: 1.297 MB / 0.4898 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.1183, allocations: 11.97 kB / 0.4898 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.1187, allocations: 236.4 kB / 0.49 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.1188, allocations: 19.92 kB / 0.49 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1188, allocations: 4 kB / 0.49 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1189, allocations: 7.938 kB / 0.49 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.119, allocations: 7.984 kB / 0.49 GB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.119, allocations: 8.062 kB / 0.49 GB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1191, allocations: 119.2 kB / 0.4902 GB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1191, allocations: 0 / 0.4902 GB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.1194, allocations: 27.94 kB / 0.4902 GB, free: 14.86 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.0007641/0.1202, allocations: 0.7757 MB / 0.4909 GB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.1205, allocations: 79.83 kB / 0.491 GB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1205, allocations: 3.938 kB / 0.491 GB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.1207, allocations: 52.16 kB / 0.4911 GB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.1212, allocations: 40.34 kB / 0.4911 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.1237, allocations: 1.804 MB / 0.4929 GB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.124, allocations: 0.7041 MB / 0.4936 GB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.934e-05/0.1241, allocations: 20.91 kB / 0.4936 GB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/0.1242, allocations: 43.42 kB / 0.4936 GB, free: 11.19 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1242, allocations: 0 / 0.4936 GB, free: 11.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.1489, allocations: 3.314 MB / 0.4969 GB, free: 8.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.53, allocations: 8 kB / 0.4969 GB, free: 8.059 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.429592637985479] Failed to read output from testmodel.py, exit status != 0: 11.69969202001812 11.876373753 11.763017656 Calling exit ...