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.001331/0.001331, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00151/0.00151, allocations: 219.4 kB / 22.26 MB, free: 5.121 MB / 14.72 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 1.386/1.386, allocations: 207.6 MB / 233 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] 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.009039/0.009039, allocations: 1.969 MB / 287.3 MB, free: 3.852 MB / 222.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002141/0.002141, allocations: 73 kB / 401.8 MB, free: 50.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07507/0.07721, allocations: 49.7 MB / 451.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002498/0.07971, allocations: 1.983 MB / 453.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.08047, allocations: 0.5929 MB / 454.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.08053, allocations: 0 / 454.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.435e-05/0.08058, allocations: 23.78 kB / 454.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.0807, allocations: 47.62 kB / 454.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.08089, allocations: 31.91 kB / 454.2 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.08104, allocations: 135.3 kB / 454.3 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.08115, allocations: 29.14 kB / 454.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.653e-05/0.08123, allocations: 51.8 kB / 454.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.08132, allocations: 55.72 kB / 454.4 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.08134, allocations: 8 kB / 454.4 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.08139, allocations: 19.98 kB / 454.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.08141, allocations: 23.92 kB / 454.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.08146, allocations: 55.67 kB / 454.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.08161, allocations: 115.5 kB / 454.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.08161, allocations: 4 kB / 454.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.08161, allocations: 0 / 454.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.08162, allocations: 4 kB / 454.6 MB, free: 3.07 MB / 318.1 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.000451/0.08207, allocations: 341.7 kB / 455 MB, free: 2.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.08211, allocations: 15.98 kB / 455 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.08213, allocations: 38.73 kB / 455 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.08216, allocations: 16.84 kB / 455 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.08231, allocations: 146.2 kB / 455.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.08232, allocations: 12.31 kB / 455.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.08234, allocations: 8.375 kB / 455.2 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.0825, allocations: 89.78 kB / 455.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.08251, allocations: 0 / 455.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.08252, allocations: 0 / 455.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.08252, allocations: 4 kB / 455.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.08264, allocations: 59.89 kB / 455.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.08308, allocations: 359.6 kB / 455.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.0835, allocations: 66.47 kB / 455.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.08355, allocations: 16.86 kB / 455.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.08356, allocations: 0 / 455.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.08358, allocations: 42.62 kB / 455.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.08358, allocations: 8 kB / 455.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002369/0.08382, allocations: 93.45 kB / 455.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.08383, allocations: 51.41 kB / 456 MB, free: 1.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.08395, allocations: 182.8 kB / 456.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.08396, allocations: 25.7 kB / 456.2 MB, free: 1.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.084, allocations: 116 kB / 456.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.08401, allocations: 7.953 kB / 456.3 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.08404, allocations: 21.67 kB / 456.3 MB, free: 1.203 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.08409, allocations: 326.8 kB / 456.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.419e-05/0.08414, allocations: 28.84 kB / 456.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.08418, allocations: 15.98 kB / 456.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.475e-05/0.08427, allocations: 48.84 kB / 456.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.08427, allocations: 0 / 456.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001259/0.08439, allocations: 85.56 kB / 456.8 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.08441, allocations: 11.94 kB / 456.8 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.08441, allocations: 0 / 456.8 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.08443, allocations: 0 / 456.8 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.08449, allocations: 12.19 kB / 456.8 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.0845, allocations: 4 kB / 456.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.08456, allocations: 19.88 kB / 456.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.08456, allocations: 0 / 456.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.502e-05/0.08463, allocations: 108.1 kB / 457 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.244e-05/0.08466, allocations: 16 kB / 457 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.444e-05/0.08473, allocations: 40.84 kB / 457 MB, free: 484 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.08473, allocations: 0 / 457 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001072/0.08483, allocations: 85.56 kB / 457.1 MB, free: 392 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.989e-06/0.08484, allocations: 4 kB / 457.1 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.52e-07/0.08484, allocations: 0 / 457.1 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-06/0.08484, allocations: 3.938 kB / 457.1 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.0849, allocations: 12 kB / 457.1 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-06/0.0849, allocations: 0 / 457.1 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.08495, allocations: 7.984 kB / 457.1 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.08495, allocations: 8 kB / 457.1 MB, free: 356 kB / 318.1 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 4.392e-05/0.08499, allocations: 176.3 kB / 457.3 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.08502, allocations: 15.84 kB / 457.3 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.08517, allocations: 86.62 kB / 457.4 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.08517, allocations: 0 / 457.4 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.08518, allocations: 0 / 457.4 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.08518, allocations: 3.938 kB / 457.4 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.08558, allocations: 330.4 kB / 457.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.08558, allocations: 0 / 457.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.08562, allocations: 8 kB / 457.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.08563, allocations: 0 / 457.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.08563, allocations: 192 / 457.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.08564, allocations: 7.984 kB / 457.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.08564, allocations: 0 / 457.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.08583, allocations: 188.2 kB / 457.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.08588, allocations: 15.89 kB / 458 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.0859, allocations: 11.94 kB / 458 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.08599, allocations: 0 / 458 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.08602, allocations: 3.984 kB / 458 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.08602, allocations: 4 kB / 458 MB, free: 15.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.08614, allocations: 140 kB / 458.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08614, allocations: 4 kB / 458.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.08644, allocations: 35.98 kB / 458.2 MB, free: 15.24 MB / 334.1 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.0005034/0.08694, allocations: 0.7056 MB / 458.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.08716, allocations: 67.95 kB / 458.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.08716, allocations: 0 / 458.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/0.08722, allocations: 27.91 kB / 459 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.08754, allocations: 11.91 kB / 459 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.08946, allocations: 1.676 MB / 460.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.0898, allocations: 0.7002 MB / 461.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.175e-05/0.08984, allocations: 8.422 kB / 461.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.0899, allocations: 27.44 kB / 461.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.0899, allocations: 4 kB / 461.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.1176, allocations: 2.634 MB / 464 MB, free: 9.195 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.55, allocations: 12.19 kB / 464 MB, free: 9.184 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.123425398000109] Failed to read output from testmodel.py, exit status != 0: 10.652618266998616 10.680866238 10.594162969 Calling exit ...