Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 107.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.97 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.008121/0.008121, allocations: 1.343 MB / 304 MB, free: 8.582 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 71.88 kB / 425.4 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.09164, allocations: 52.46 MB / 477.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003141/0.09478, allocations: 1.796 MB / 479.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009704/0.09575, allocations: 0.5533 MB / 480.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.09582, allocations: 7.938 kB / 480.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.09597, allocations: 19.78 kB / 480.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.09605, allocations: 31.72 kB / 480.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.09629, allocations: 91.83 kB / 480.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.09652, allocations: 171.4 kB / 480.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.09666, allocations: 41.77 kB / 480.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.09674, allocations: 51.78 kB / 480.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.09683, allocations: 51.72 kB / 480.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.09686, allocations: 15.98 kB / 480.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.127e-05/0.09688, allocations: 11.94 kB / 480.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.09691, allocations: 23.92 kB / 480.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.09698, allocations: 63.59 kB / 480.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.09717, allocations: 127.5 kB / 480.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.09717, allocations: 4 kB / 480.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09717, allocations: 3.938 kB / 480.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.09718, allocations: 0 / 480.9 MB, free: 14.1 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.0006574/0.09783, allocations: 458.6 kB / 481.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.09787, allocations: 12.02 kB / 481.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.09792, allocations: 38.75 kB / 481.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.09796, allocations: 16.84 kB / 481.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.09819, allocations: 208.9 kB / 481.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.0982, allocations: 12.38 kB / 481.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.09823, allocations: 8.375 kB / 481.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.09848, allocations: 121.8 kB / 481.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.09849, allocations: 0 / 481.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.0985, allocations: 8 kB / 481.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.09851, allocations: 0 / 481.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.09874, allocations: 63.95 kB / 481.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.09953, allocations: 0.5083 MB / 482.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.09971, allocations: 66.55 kB / 482.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.09982, allocations: 32.97 kB / 482.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.09984, allocations: 0 / 482.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.09987, allocations: 38.5 kB / 482.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/0.09987, allocations: 3.984 kB / 482.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004204/0.1003, allocations: 141.6 kB / 482.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1003, allocations: 51.41 kB / 482.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1005, allocations: 174.9 kB / 482.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1005, allocations: 25.7 kB / 482.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.1006, allocations: 124 kB / 483 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.1006, allocations: 19.8 kB / 483 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.1007, allocations: 33.7 kB / 483 MB, free: 11.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1009, allocations: 330.8 kB / 483.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.101, allocations: 27.97 kB / 483.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1011, allocations: 68.27 kB / 483.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.1014, allocations: 108.1 kB / 483.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1014, allocations: 0 / 483.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000321/0.1017, allocations: 137.5 kB / 483.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1017, allocations: 14.62 kB / 483.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1017, allocations: 4 kB / 483.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1017, allocations: 0 / 483.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.102, allocations: 39.91 kB / 483.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.1032, allocations: 1.4 MB / 485.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.1033, allocations: 19.92 kB / 485.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.1033, allocations: 4 kB / 485.2 MB, free: 9.418 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 12 * 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 prepare postOptimizeDAE: time 0.0001149/0.1034, allocations: 137.8 kB / 485.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.1034, allocations: 15.91 kB / 485.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.1034, allocations: 9.406 kB / 485.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1034, allocations: 0 / 485.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.1034, allocations: 4.094 kB / 485.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1034, allocations: 3.938 kB / 485.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.104, allocations: 399.2 kB / 485.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.104, allocations: 0 / 485.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.1042, allocations: 35.97 kB / 485.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1042, allocations: 0 / 485.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1043, allocations: 128 / 485.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.1053, allocations: 1.404 MB / 487.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1053, allocations: 0 / 487.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.1058, allocations: 244.4 kB / 487.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.078e-05/0.1059, allocations: 97.03 kB / 487.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1059, allocations: 0 / 487.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.106, allocations: 7.984 kB / 487.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.106, allocations: 12 kB / 487.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.106, allocations: 4 kB / 487.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1061, allocations: 128.3 kB / 487.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1061, allocations: 0 / 487.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.1064, allocations: 23.94 kB / 487.7 MB, free: 6.668 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 (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.0007433/0.1072, allocations: 0.7757 MB / 488.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.1076, allocations: 91.81 kB / 488.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1076, allocations: 320 / 488.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.1078, allocations: 43.97 kB / 488.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.1082, allocations: 52.5 kB / 488.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.1105, allocations: 1.836 MB / 490.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1109, allocations: 0.7159 MB / 491.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.884e-05/0.1109, allocations: 8.828 kB / 491.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.111, allocations: 47.41 kB / 491.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.111, allocations: 0 / 491.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.1361, allocations: 3.196 MB / 494.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.08, allocations: 3.75 kB / 494.4 MB, free: 15.93 MB / 366.1 MB " [Timeout remaining time 652] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD_fmu --startTime=0 --stopTime=1000 --stepSize=2 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.530691213905811] Failed to read output from testmodel.py, exit status != 0: 8.147887227125466 8.162781339 8.06273599 Calling exit ...