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.001398/0.001398, allocations: 107.4 kB / 16.4 MB, free: 6.5 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.001423/0.001423, allocations: 198.7 kB / 19.35 MB, free: 3.73 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.555/1.555, allocations: 205.1 MB / 227.2 MB, free: 12.15 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.009755/0.009755, allocations: 1.932 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.002214/0.002214, allocations: 72.84 kB / 386.4 MB, free: 52.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07919/0.08142, allocations: 47.14 MB / 433.6 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002323/0.08377, allocations: 1.959 MB / 435.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006904/0.08448, allocations: 0.5698 MB / 436.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.08454, allocations: 3.938 kB / 436.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.573e-05/0.08459, allocations: 19.78 kB / 436.1 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.08473, allocations: 43.62 kB / 436.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.08492, allocations: 35.91 kB / 436.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.08507, allocations: 143.2 kB / 436.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.08519, allocations: 32.97 kB / 436.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.08525, allocations: 43.86 kB / 436.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.08534, allocations: 55.66 kB / 436.5 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.08536, allocations: 8 kB / 436.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.445e-05/0.08542, allocations: 19.98 kB / 436.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.08544, allocations: 27.91 kB / 436.5 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.08549, allocations: 51.69 kB / 436.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.08564, allocations: 119.5 kB / 436.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.08565, allocations: 0 / 436.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08565, allocations: 0 / 436.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.08566, allocations: 0 / 436.7 MB, free: 13.55 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.0004168/0.08608, allocations: 432 kB / 437.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.08612, allocations: 11.89 kB / 437.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.08616, allocations: 42.73 kB / 437.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.08619, allocations: 12.84 kB / 437.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.08633, allocations: 208 kB / 437.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.08634, allocations: 8.359 kB / 437.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.08636, allocations: 8.375 kB / 437.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.08652, allocations: 93.78 kB / 437.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.08654, allocations: 0 / 437.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.08656, allocations: 7.922 kB / 437.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.08657, allocations: 4 kB / 437.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.08669, allocations: 55.97 kB / 437.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.0871, allocations: 380.5 kB / 437.9 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.0875, allocations: 74.47 kB / 438 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.08756, allocations: 20.86 kB / 438 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.08759, allocations: 0 / 438 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.0876, allocations: 30.56 kB / 438.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.08761, allocations: 3.938 kB / 438.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002258/0.08784, allocations: 97.59 kB / 438.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.08787, allocations: 59.34 kB / 438.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.08798, allocations: 182.7 kB / 438.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.088, allocations: 25.7 kB / 438.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.08804, allocations: 116 kB / 438.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.08806, allocations: 7.953 kB / 438.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.08809, allocations: 21.67 kB / 438.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.924e-05/0.08814, allocations: 322.8 kB / 438.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/0.0882, allocations: 36.84 kB / 438.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.08825, allocations: 15.98 kB / 438.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.337e-05/0.08835, allocations: 48.84 kB / 439 MB, free: 11.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.08835, allocations: 0 / 439 MB, free: 11.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001338/0.08849, allocations: 81.64 kB / 439.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.08851, allocations: 19.77 kB / 439.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.08852, allocations: 0 / 439.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.08854, allocations: 0 / 439.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.08862, allocations: 16 kB / 439.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.08864, allocations: 0 / 439.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.08871, allocations: 15.88 kB / 439.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.08872, allocations: 0 / 439.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.958e-05/0.08879, allocations: 100.1 kB / 439.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.586e-05/0.08883, allocations: 15.98 kB / 439.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.354e-05/0.08891, allocations: 40.84 kB / 439.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.08892, allocations: 0 / 439.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001166/0.08905, allocations: 97.81 kB / 439.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.879e-06/0.08906, allocations: 4 kB / 439.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.92e-07/0.08906, allocations: 0 / 439.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-06/0.08907, allocations: 4 kB / 439.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.08912, allocations: 12 kB / 439.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-06/0.08913, allocations: 4 kB / 439.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.08918, allocations: 0 / 439.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.08919, allocations: 7.984 kB / 439.4 MB, free: 10.61 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 4.469e-05/0.08924, allocations: 180.3 kB / 439.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.08927, allocations: 15.84 kB / 439.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.08943, allocations: 82.55 kB / 439.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.08944, allocations: 0 / 439.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.08945, allocations: 0 / 439.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.08945, allocations: 3.984 kB / 439.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.08972, allocations: 351.3 kB / 440 MB, free: 9.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.08973, allocations: 4 kB / 440 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.08978, allocations: 12.02 kB / 440 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.08979, allocations: 7.938 kB / 440 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.0898, allocations: 288 / 440 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.08981, allocations: 0 / 440 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.08981, allocations: 0 / 440 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.08995, allocations: 184.2 kB / 440.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.08999, allocations: 101 kB / 440.3 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.09002, allocations: 0 / 440.3 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.0901, allocations: 4 kB / 440.3 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.09014, allocations: 7.922 kB / 440.3 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.09015, allocations: 4 kB / 440.3 MB, free: 9.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.392e-05/0.09023, allocations: 140 kB / 440.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09023, allocations: 0 / 440.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.09052, allocations: 35.94 kB / 440.5 MB, free: 9.387 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.0002683/0.09079, allocations: 0.7093 MB / 441.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.09099, allocations: 67.91 kB / 441.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09101, allocations: 0 / 441.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.09106, allocations: 27.92 kB / 441.3 MB, free: 8.551 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.09137, allocations: 8 kB / 441.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.09263, allocations: 1.669 MB / 443 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.989e-05/0.09274, allocations: 0.7041 MB / 443.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.018e-05/0.09279, allocations: 16.42 kB / 443.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.09284, allocations: 27.44 kB / 443.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09284, allocations: 0 / 443.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.1148, allocations: 2.469 MB / 446.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/7.999, allocations: 11.91 kB / 446.2 MB, free: 3.488 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.732761149993166] Failed to read output from testmodel.py, exit status != 0: 8.065924859954976 8.082100722 7.993200642 Calling exit ...