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.001462/0.001462, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001731/0.001731, allocations: 190.3 kB / 22.23 MB, free: 5.133 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.445/1.445, allocations: 207.6 MB / 233 MB, free: 10.05 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.01085/0.01085, allocations: 1.958 MB / 287.2 MB, free: 3.918 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.002181/0.002181, allocations: 71.31 kB / 401.7 MB, free: 51.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0776/0.07978, allocations: 49.7 MB / 451.4 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002497/0.08227, allocations: 1.971 MB / 453.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.08319, allocations: 0.589 MB / 454 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.08326, allocations: 7.938 kB / 454 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.414e-05/0.08332, allocations: 15.8 kB / 454 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.08345, allocations: 47.62 kB / 454.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.08367, allocations: 27.91 kB / 454.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.08383, allocations: 143.2 kB / 454.2 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.08395, allocations: 25.16 kB / 454.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.009e-05/0.08402, allocations: 47.86 kB / 454.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.243e-05/0.08411, allocations: 55.66 kB / 454.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.08413, allocations: 12 kB / 454.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.088e-05/0.08419, allocations: 19.98 kB / 454.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.08421, allocations: 23.92 kB / 454.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.08425, allocations: 59.66 kB / 454.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.08442, allocations: 115.5 kB / 454.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.08443, allocations: 0 / 454.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.08443, allocations: 0 / 454.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.08444, allocations: 0 / 454.6 MB, free: 3.289 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.0004867/0.08492, allocations: 432.8 kB / 455 MB, free: 2.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.08496, allocations: 15.98 kB / 455 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.861e-05/0.08499, allocations: 38.75 kB / 455.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.08503, allocations: 12.84 kB / 455.1 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.08518, allocations: 208 kB / 455.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.0852, allocations: 4.375 kB / 455.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.08521, allocations: 8.375 kB / 455.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.08539, allocations: 93.72 kB / 455.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.0854, allocations: 0 / 455.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.08541, allocations: 7.984 kB / 455.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.08542, allocations: 4 kB / 455.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.08554, allocations: 55.97 kB / 455.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.08601, allocations: 384.5 kB / 455.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.08646, allocations: 66.47 kB / 455.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.08651, allocations: 20.86 kB / 455.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.08653, allocations: 4.094 kB / 455.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.08654, allocations: 34.55 kB / 455.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.08655, allocations: 0 / 455.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002605/0.08681, allocations: 93.52 kB / 456 MB, free: 1.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.08683, allocations: 51.41 kB / 456.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.08695, allocations: 190.7 kB / 456.3 MB, free: 1.398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.08696, allocations: 29.7 kB / 456.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.08701, allocations: 112 kB / 456.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.08702, allocations: 11.95 kB / 456.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.08705, allocations: 21.67 kB / 456.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.326e-05/0.0871, allocations: 322.8 kB / 456.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.08716, allocations: 24.84 kB / 456.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.0872, allocations: 23.98 kB / 456.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.228e-05/0.08729, allocations: 44.84 kB / 456.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.08729, allocations: 0 / 456.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001381/0.08743, allocations: 85.62 kB / 456.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.08745, allocations: 11.94 kB / 456.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.08745, allocations: 7.922 kB / 457 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.08746, allocations: 0 / 457 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.08753, allocations: 8 kB / 457 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.08754, allocations: 3.984 kB / 457 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.0876, allocations: 19.89 kB / 457 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.08761, allocations: 4 kB / 457 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.435e-05/0.08769, allocations: 104.1 kB / 457.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.387e-05/0.08772, allocations: 12 kB / 457.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.033e-05/0.08779, allocations: 44.78 kB / 457.1 MB, free: 492 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.81e-07/0.08779, allocations: 0 / 457.1 MB, free: 492 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001159/0.08791, allocations: 85.81 kB / 457.2 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/0.08791, allocations: 8 kB / 457.2 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-06/0.08791, allocations: 0 / 457.2 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/0.08792, allocations: 8 kB / 457.2 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.08797, allocations: 12 kB / 457.3 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-06/0.08797, allocations: 0 / 457.3 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.08802, allocations: 11.98 kB / 457.3 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.08802, allocations: 0 / 457.3 MB, free: 360 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 5.126e-05/0.08807, allocations: 176.3 kB / 457.4 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.0881, allocations: 19.84 kB / 457.5 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.08826, allocations: 86.62 kB / 457.5 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.08826, allocations: 4 kB / 457.5 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.08826, allocations: 0 / 457.5 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.08826, allocations: 0 / 457.5 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.08871, allocations: 351.3 kB / 457.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.08872, allocations: 0 / 457.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.08877, allocations: 8 kB / 457.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.08877, allocations: 0 / 457.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.08878, allocations: 0 / 457.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.08878, allocations: 8.031 kB / 457.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.08878, allocations: 0 / 457.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.08899, allocations: 180.5 kB / 458.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/0.08907, allocations: 93 kB / 458.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.08909, allocations: 4 kB / 458.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.08918, allocations: 7.984 kB / 458.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.08922, allocations: 11.94 kB / 458.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.08922, allocations: 0 / 458.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.08936, allocations: 140 kB / 458.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08936, allocations: 0 / 458.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.08967, allocations: 43.94 kB / 458.4 MB, free: 15.12 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.0005721/0.09025, allocations: 0.7054 MB / 459.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.09048, allocations: 67.89 kB / 459.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.09048, allocations: 4 kB / 459.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.09057, allocations: 15.88 kB / 459.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.09095, allocations: 15.98 kB / 459.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.09302, allocations: 1.673 MB / 460.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.09338, allocations: 0.7041 MB / 461.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.09343, allocations: 12.42 kB / 461.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.09349, allocations: 31.42 kB / 461.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of SimCode: time 1.412e-06/0.0935, allocations: 0 / 461.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.1189, allocations: 2.527 MB / 464.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.089, allocations: 4 kB / 464.1 MB, free: 9.176 MB / 334.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.676518431166187] Failed to read output from testmodel.py, exit status != 0: 8.157357417978346 8.172858243 8.085332422 Calling exit ...