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.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.00139/0.00139, allocations: 107 kB / 16.4 MB, free: 6.496 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.001404/0.001404, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.343/1.343, allocations: 205.1 MB / 227.2 MB, free: 12.14 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.008397/0.008397, allocations: 1.928 MB / 278.5 MB, free: 7.973 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.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) 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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 69.98 kB / 386.5 MB, free: 51.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08115/0.08324, allocations: 47.13 MB / 433.6 MB, free: 16.56 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.00296/0.08624, allocations: 1.959 MB / 435.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000832/0.0871, allocations: 0.5659 MB / 436.1 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.08718, allocations: 3.938 kB / 436.1 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.81e-05/0.08725, allocations: 19.78 kB / 436.1 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.08739, allocations: 51.61 kB / 436.2 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.08761, allocations: 31.91 kB / 436.2 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.08776, allocations: 139.3 kB / 436.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.0879, allocations: 32.97 kB / 436.4 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.08797, allocations: 43.86 kB / 436.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.08807, allocations: 59.64 kB / 436.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.0881, allocations: 8 kB / 436.5 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.734e-05/0.08817, allocations: 23.98 kB / 436.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.0882, allocations: 19.92 kB / 436.5 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.08826, allocations: 55.69 kB / 436.6 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.08844, allocations: 115.5 kB / 436.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.08845, allocations: 0 / 436.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.08846, allocations: 0 / 436.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.08847, allocations: 0 / 436.7 MB, free: 13.42 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.0005412/0.08902, allocations: 430.8 kB / 437.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.08908, allocations: 11.89 kB / 437.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.08912, allocations: 42.73 kB / 437.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.08917, allocations: 12.84 kB / 437.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.08936, allocations: 208 kB / 437.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.08939, allocations: 8.359 kB / 437.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.08942, allocations: 8.375 kB / 437.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.08964, allocations: 93.73 kB / 437.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.08966, allocations: 3.984 kB / 437.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.08968, allocations: 7.938 kB / 437.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.0897, allocations: 0 / 437.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.08987, allocations: 55.97 kB / 437.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.0904, allocations: 380.5 kB / 437.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.09083, allocations: 82.45 kB / 438 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.0909, allocations: 16.86 kB / 438 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.09092, allocations: 0 / 438 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.184e-05/0.09094, allocations: 30.56 kB / 438.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.09094, allocations: 4 kB / 438.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002952/0.09124, allocations: 93.59 kB / 438.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.09128, allocations: 59.34 kB / 438.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.09145, allocations: 182.7 kB / 438.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.09146, allocations: 25.7 kB / 438.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.09153, allocations: 124 kB / 438.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.09154, allocations: 3.953 kB / 438.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.09159, allocations: 21.67 kB / 438.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.09164, allocations: 322.8 kB / 438.9 MB, free: 11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.09171, allocations: 32.84 kB / 438.9 MB, free: 10.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.09176, allocations: 15.98 kB / 438.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.296e-05/0.09185, allocations: 48.84 kB / 439 MB, free: 10.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.09186, allocations: 128 / 439 MB, free: 10.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001329/0.092, allocations: 89.58 kB / 439.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.09202, allocations: 15.83 kB / 439.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.09203, allocations: 0 / 439.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.09205, allocations: 0 / 439.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.09212, allocations: 16 kB / 439.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.09213, allocations: 0 / 439.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.0922, allocations: 15.88 kB / 439.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.09221, allocations: 0 / 439.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.844e-05/0.09228, allocations: 100.1 kB / 439.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.443e-05/0.09232, allocations: 19.98 kB / 439.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.103e-05/0.0924, allocations: 40.84 kB / 439.3 MB, free: 10.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.09241, allocations: 0 / 439.3 MB, free: 10.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001121/0.09253, allocations: 93.5 kB / 439.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-06/0.09254, allocations: 4 kB / 439.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.41e-07/0.09254, allocations: 0 / 439.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/0.09255, allocations: 3.938 kB / 439.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.818e-05/0.0926, allocations: 12 kB / 439.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-06/0.09261, allocations: 0 / 439.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.09266, allocations: 0 / 439.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.09267, allocations: 11.92 kB / 439.4 MB, free: 10.47 MB / 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 5.235e-05/0.09272, allocations: 180.3 kB / 439.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.09276, allocations: 19.84 kB / 439.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.09292, allocations: 78.55 kB / 439.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.09293, allocations: 0 / 439.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.09294, allocations: 4.234 kB / 439.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.09295, allocations: 0 / 439.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.09324, allocations: 351.3 kB / 440 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.09325, allocations: 4 kB / 440 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.0933, allocations: 12.02 kB / 440 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.09331, allocations: 4 kB / 440 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.09332, allocations: 0 / 440 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.09333, allocations: 0 / 440 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.09333, allocations: 0 / 440 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.09347, allocations: 180.2 kB / 440.2 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.09353, allocations: 101 kB / 440.3 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.09355, allocations: 3.938 kB / 440.3 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.09363, allocations: 7.938 kB / 440.3 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.09367, allocations: 4.312 kB / 440.3 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.09368, allocations: 4 kB / 440.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.457e-05/0.09376, allocations: 140 kB / 440.5 MB, free: 9.285 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09376, allocations: 0 / 440.5 MB, free: 9.285 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.09405, allocations: 35.98 kB / 440.5 MB, free: 9.25 MB / 318.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.000286/0.09434, allocations: 0.7132 MB / 441.2 MB, free: 8.504 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.09453, allocations: 67.91 kB / 441.3 MB, free: 8.438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.09454, allocations: 0 / 441.3 MB, free: 8.438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.09459, allocations: 23.92 kB / 441.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.09494, allocations: 16 kB / 441.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.09623, allocations: 1.672 MB / 443 MB, free: 6.641 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.09636, allocations: 0.708 MB / 443.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.09641, allocations: 8.422 kB / 443.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.09646, allocations: 23.44 kB / 443.7 MB, free: 5.875 MB / 318.1 MB Notification: Performance of SimCode: time 9.52e-07/0.09647, allocations: 3.938 kB / 443.7 MB, free: 5.871 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.1209, allocations: 2.465 MB / 446.2 MB, free: 3.359 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/8.382, allocations: 11.97 kB / 446.2 MB, free: 3.348 MB / 318.1 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: 10.773112830938771] Failed to read output from testmodel.py, exit status != 0: 8.450080167967826 8.479213441 8.385781402 Calling exit ...