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.001783/0.001783, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.002197/0.002197, allocations: 212 kB / 19.43 MB, free: 3.637 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.511/1.511, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.00836/0.00836, allocations: 1.345 MB / 310.2 MB, free: 3.109 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-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="me",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="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.002515/0.002515, allocations: 67.89 kB / 433.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1101, allocations: 53.63 MB / 487.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003724/0.1138, allocations: 1.798 MB / 489.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.115, allocations: 0.5845 MB / 489.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.1151, allocations: 4 kB / 489.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.1152, allocations: 19.8 kB / 490 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.1153, allocations: 35.66 kB / 490 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1156, allocations: 87.88 kB / 490.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.1158, allocations: 159.4 kB / 490.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.116, allocations: 44.16 kB / 490.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1161, allocations: 59.7 kB / 490.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.1162, allocations: 59.7 kB / 490.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1162, allocations: 12 kB / 490.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.452e-05/0.1162, allocations: 12 kB / 490.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.1163, allocations: 23.92 kB / 490.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.219e-05/0.1163, allocations: 63.55 kB / 490.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.1165, allocations: 127.5 kB / 490.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1165, allocations: 0 / 490.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1165, allocations: 0 / 490.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1165, allocations: 0 / 490.6 MB, free: 6.082 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.0006699/0.1172, allocations: 458.6 kB / 491.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1173, allocations: 12.03 kB / 491.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.1173, allocations: 38.75 kB / 491.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.1173, allocations: 16.78 kB / 491.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1176, allocations: 212.9 kB / 491.3 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1176, allocations: 8.375 kB / 491.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1176, allocations: 12.38 kB / 491.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.1179, allocations: 126.1 kB / 491.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.1179, allocations: 0 / 491.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1179, allocations: 4 kB / 491.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1179, allocations: 4 kB / 491.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.1182, allocations: 63.94 kB / 491.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008301/0.119, allocations: 0.5044 MB / 492.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.1192, allocations: 66.55 kB / 492.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.1193, allocations: 36.95 kB / 492.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.1193, allocations: 4 kB / 492.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1194, allocations: 30.56 kB / 492.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1194, allocations: 0 / 492.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004277/0.1198, allocations: 129.4 kB / 492.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1199, allocations: 59.34 kB / 492.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.12, allocations: 178.9 kB / 492.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1201, allocations: 29.7 kB / 492.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.1201, allocations: 112 kB / 492.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1202, allocations: 27.78 kB / 492.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.1202, allocations: 33.67 kB / 492.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1204, allocations: 322.8 kB / 493.1 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1205, allocations: 31.97 kB / 493.1 MB, free: 3.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1206, allocations: 58.55 kB / 493.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.1209, allocations: 94.41 kB / 493.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1209, allocations: 0 / 493.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003188/0.1212, allocations: 137.5 kB / 493.4 MB, free: 3.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1212, allocations: 11.92 kB / 493.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1212, allocations: 0 / 493.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1212, allocations: 4 kB / 493.4 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.1214, allocations: 27.98 kB / 493.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1214, allocations: 3.938 kB / 493.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.1215, allocations: 15.88 kB / 493.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1215, allocations: 8 kB / 493.5 MB, free: 2.988 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.000101/0.1216, allocations: 121.9 kB / 493.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.1217, allocations: 16.09 kB / 493.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.1217, allocations: 17.41 kB / 493.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1217, allocations: 7.969 kB / 493.6 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1217, allocations: 4 kB / 493.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1217, allocations: 0 / 493.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.1223, allocations: 391.3 kB / 494 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1223, allocations: 7.969 kB / 494 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.1225, allocations: 31.97 kB / 494 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1226, allocations: 4 kB / 494 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1226, allocations: 4 kB / 494.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.1237, allocations: 1.408 MB / 495.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1237, allocations: 0 / 495.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.1242, allocations: 232.4 kB / 495.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.1242, allocations: 93.03 kB / 495.8 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1243, allocations: 8 kB / 495.8 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1244, allocations: 11.92 kB / 495.8 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1244, allocations: 3.984 kB / 495.8 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1244, allocations: 8.062 kB / 495.8 MB, free: 404 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1245, allocations: 124.3 kB / 495.9 MB, free: 280 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1245, allocations: 0 / 495.9 MB, free: 280 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.1248, allocations: 23.94 kB / 496 MB, free: 256 kB / 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 (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.0007907/0.1256, allocations: 0.7797 MB / 496.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000307/0.1259, allocations: 75.89 kB / 496.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1259, allocations: 0 / 496.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.1262, allocations: 52.12 kB / 496.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.1266, allocations: 49.52 kB / 496.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.1289, allocations: 1.798 MB / 498.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1293, allocations: 0.708 MB / 499.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.532e-05/0.1294, allocations: 12.88 kB / 499.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1295, allocations: 43.42 kB / 499.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1295, allocations: 3.938 kB / 499.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.167, allocations: 3.151 MB / 0.4908 GB, free: 9.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/8.462, allocations: 14.28 kB / 0.4909 GB, free: 9.609 MB / 366.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2 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: 11.222736041992903] Failed to read output from testmodel.py, exit status != 0: 8.554477476049215 8.577151343 8.457253978 Calling exit ...