Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientValve.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.0008401/0.0008401, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008918/0.0008918, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8842/0.8842, allocations: 158.6 MB / 184.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007028/0.007028, allocations: 1.428 MB / 237.9 MB, free: 13.94 MB / 234.7 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: "" <> buildModelFMU(MEV.Test.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 352.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.428e-05, allocations: 10.22 kB / 352.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002765/0.002789, allocations: 1.89 MB / 354.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009032/0.003692, allocations: 0.5463 MB / 354.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.003764, allocations: 4 kB / 354.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.813e-05/0.003822, allocations: 19.84 kB / 354.9 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.003959, allocations: 47.56 kB / 355 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.004196, allocations: 43.77 kB / 355 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.004393, allocations: 139.2 kB / 355.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.004516, allocations: 25.3 kB / 355.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.004631, allocations: 67.81 kB / 355.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.353e-05/0.004715, allocations: 43.88 kB / 355.3 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.004737, allocations: 8 kB / 355.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.623e-05/0.004793, allocations: 20 kB / 355.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.004816, allocations: 23.86 kB / 355.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.004857, allocations: 39.91 kB / 355.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.00503, allocations: 115.6 kB / 355.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005033, allocations: 0 / 355.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.005034, allocations: 0 / 355.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.005039, allocations: 0 / 355.5 MB, free: 12.73 MB / 282.7 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.0004848/0.005524, allocations: 345.7 kB / 355.8 MB, free: 12.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.005569, allocations: 11.98 kB / 355.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.445e-05/0.005604, allocations: 42.73 kB / 355.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.005637, allocations: 16.84 kB / 355.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.005792, allocations: 141.6 kB / 356 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.005806, allocations: 8.375 kB / 356 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.005819, allocations: 4.375 kB / 356 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.005993, allocations: 90.16 kB / 356.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.006005, allocations: 4.172 kB / 356.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.006018, allocations: 12.06 kB / 356.1 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006022, allocations: 4 kB / 356.1 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.006146, allocations: 55.97 kB / 356.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.006634, allocations: 347.5 kB / 356.5 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.006991, allocations: 62.53 kB / 356.6 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.007036, allocations: 16.86 kB / 356.6 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.007053, allocations: 0 / 356.6 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.007068, allocations: 38.64 kB / 356.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.007069, allocations: 0 / 356.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002413/0.007311, allocations: 93.52 kB / 356.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.007335, allocations: 59.34 kB / 356.8 MB, free: 11.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.007489, allocations: 183.5 kB / 357 MB, free: 11.06 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.954e-06/0.007496, allocations: 25.7 kB / 357 MB, free: 11.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.007542, allocations: 112 kB / 357.1 MB, free: 10.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.00755, allocations: 11.95 kB / 357.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.007581, allocations: 21.67 kB / 357.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.839e-05/0.007609, allocations: 322.8 kB / 357.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.00766, allocations: 20.84 kB / 357.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.00769, allocations: 23.98 kB / 357.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.301e-05/0.007753, allocations: 52.91 kB / 357.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.007755, allocations: 0 / 357.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.033e-05/0.007845, allocations: 89.62 kB / 357.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.007856, allocations: 6.656 kB / 357.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.00786, allocations: 0 / 357.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.007871, allocations: 0 / 357.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.826e-05/0.007919, allocations: 11.94 kB / 357.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.007925, allocations: 4 kB / 357.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.007959, allocations: 15.88 kB / 357.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.007964, allocations: 4 kB / 357.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.254e-05/0.008007, allocations: 108.1 kB / 357.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.043e-05/0.008027, allocations: 15.94 kB / 357.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.201e-05/0.008069, allocations: 40.84 kB / 357.9 MB, free: 10.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.51e-07/0.008069, allocations: 0 / 357.9 MB, free: 10.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 6.723e-05/0.008137, allocations: 81.56 kB / 357.9 MB, free: 10.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.178e-06/0.008141, allocations: 8 kB / 357.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.01e-07/0.008141, allocations: 0 / 357.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.02e-07/0.008142, allocations: 0 / 357.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.287e-05/0.008165, allocations: 8 kB / 358 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-06/0.008167, allocations: 7.938 kB / 358 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.00819, allocations: 7.984 kB / 358 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-06/0.008192, allocations: 4.25 kB / 358 MB, free: 10.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 3.713e-05/0.008229, allocations: 184.2 kB / 358.2 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.008244, allocations: 11.91 kB / 358.2 MB, free: 9.832 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.008357, allocations: 86.69 kB / 358.2 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.00836, allocations: 0 / 358.2 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.008364, allocations: 3.938 kB / 358.3 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.008367, allocations: 0 / 358.3 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.00855, allocations: 314.5 kB / 358.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.008551, allocations: 0 / 358.6 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.00857, allocations: 4 kB / 358.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008572, allocations: 7.938 kB / 358.6 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.00858, allocations: 3.984 kB / 358.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008581, allocations: 0 / 358.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008583, allocations: 4.219 kB / 358.6 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.175e-05/0.008664, allocations: 184.2 kB / 358.8 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.008691, allocations: 19.81 kB / 358.8 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.008705, allocations: 12 kB / 358.8 MB, free: 9.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.008747, allocations: 3.984 kB / 358.8 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.008775, allocations: 4 kB / 358.8 MB, free: 9.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.008778, allocations: 0 / 358.8 MB, free: 9.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.008832, allocations: 140 kB / 358.9 MB, free: 8.984 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008832, allocations: 0 / 358.9 MB, free: 8.984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002021/0.009034, allocations: 40 kB / 359 MB, free: 8.945 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0002086/0.009243, allocations: 0.7053 MB / 359.7 MB, free: 8.211 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.009382, allocations: 67.89 kB / 359.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009383, allocations: 0 / 359.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.009409, allocations: 16 kB / 359.8 MB, free: 8.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.009649, allocations: 11.98 kB / 359.8 MB, free: 8.117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.01061, allocations: 1.679 MB / 361.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.01066, allocations: 85.31 kB / 361.5 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.183e-05/0.01069, allocations: 4.5 kB / 361.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.01073, allocations: 32.48 kB / 361.6 MB, free: 6.211 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01073, allocations: 4 kB / 361.6 MB, free: 6.207 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.02583, allocations: 3.227 MB / 364.8 MB, free: 2.945 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/7.606, allocations: 8.219 kB / 364.8 MB, free: 2.938 MB / 282.7 MB " [Timeout remaining time 652] (rm -f MEV_MEV.Test.TestPatientValve.pipe ; mkfifo MEV_MEV.Test.TestPatientValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientValve.pipe >> ../files/MEV_MEV.Test.TestPatientValve.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestPatientValve_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 MEV_MEV_Test_TestPatientValve.fmu > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.380374381318688] Failed to read output from testmodel.py, exit status != 0: 7.685722280293703 7.694159452 7.6874316050000004 Calling exit ...